dopecodez / Wikipedia

Wikipedia for node and the browser
MIT License
82 stars 19 forks source link

Implement generate citation data #29

Closed dopecodez closed 3 years ago

dopecodez commented 3 years ago

There are a lot of new REST APIs for wikipedia present in the REST API docs.

We'll look through them one by one and implement the same. Any one who wants to pick up on any other REST API should ideally open a new issue.

The REST API has a /page/mobile-sections/{title} endpoint which which provides citation data for a given url.

Implementation for this can follow https://github.com/dopecodez/Wikipedia/pull/17. Remember to write unit tests for all possible scenarios in your new functions, and try to use types as far as possible.