WikiTree JavaScript API

+9 votes
237 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 (127k 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 (851k 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 (216k 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
174 views asked Jan 8 in WikiTree Tech by Michel Vorenhout G2G6 Pilot (319k points)
+7 votes
2 answers
+20 votes
1 answer
533 views asked Jul 19, 2019 in WikiTree Tech by Jamie Nelson G2G6 Pilot (640k points)
+2 votes
1 answer
145 views asked Jan 25 in WikiTree Tech by Tomáš Kratina G2G2 (2.3k points)
+5 votes
1 answer
+7 votes
3 answers
225 views asked Feb 1, 2022 in WikiTree Tech by Fairch Fairchild G2G3 (3.0k points)
+5 votes
1 answer
+8 votes
1 answer
359 views asked Jan 19, 2022 in WikiTree Tech by Ken McEvoy G2G6 Mach 1 (12.4k points)
+26 votes
2 answers
+5 votes
0 answers
108 views asked Aug 1, 2021 in WikiTree Tech by Kay Knight G2G6 Pilot (607k points)

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

disclaimer - terms - copyright

...