WikiTree JavaScript API

+9 votes
244 views

Hi,

If you'd like to write a WikiTree app or just play around with the WikiTree API, I implemented a Javascript library to make it easier to write code that gets data from WikiTree.

The code and documentation is here: https://github.com/PeWu/wikitree-js

The easiest way to experiment with the API is to open on online editor like StackBlitz.com or replit.com. You can find ready code examples that you can reuse in the wikitree-js readme.

in WikiTree Tech by Przemek Więch G2G5 (5.2k points)

3 Answers

+4 votes
Thanks for this
by Lance Martin G2G6 Pilot (128k points)
+5 votes
You might want to check out the Apps project:

https://www.wikitree.com/wiki/Project:WikiTree_Apps

Also, next month is a hack-athon.
by Peggy Watkins G2G6 Pilot (860k points)
+2 votes
I haven't used TypeScript before. Is it possible to use this api in a browser extension? Does the typescript have to be compiled to javascript first?
by Rob Pavey G2G6 Pilot (220k points)

You can use the library from Javascript code, no need to use Typescript. You can definitely use the library in an extension. If you use npm, you can simply npm install wikitree-js. I haven't tried using the library without npm.

Related questions

+6 votes
2 answers
187 views asked Jan 8 in WikiTree Tech by Michel Vorenhout G2G6 Pilot (320k points)
+7 votes
2 answers
+20 votes
1 answer
535 views asked Jul 19, 2019 in WikiTree Tech by Jamie Nelson G2G6 Pilot (643k points)
+2 votes
1 answer
148 views asked Jan 25 in WikiTree Tech by Tomáš Kratina G2G2 (2.3k points)
+5 votes
1 answer
+7 votes
3 answers
226 views asked Feb 1, 2022 in WikiTree Tech by Fairch Fairchild G2G3 (3.0k points)
+5 votes
1 answer
+8 votes
1 answer
360 views asked Jan 19, 2022 in WikiTree Tech by Ken McEvoy G2G6 Mach 1 (12.9k points)
+26 votes
2 answers
+5 votes
0 answers
111 views asked Aug 1, 2021 in WikiTree Tech by Kay Knight G2G6 Pilot (611k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...