Closed jdlrobson closed 7 years ago
Create a package breaking out Weekipedia's server side code to make it easier for other express-based node apps to make use of the code:
const initExpressWikipediaApi = require('express-wikipedia-api module'); const app = express() initExpressWikipediaApi(app);
This will expose the Wikimedia APIs like so:
Once this is in place should probably make use of the related endpoint: https://en.wikipedia.org/api/rest_v1/page/related/San_Francisco (although see https://phabricator.wikimedia.org/T152825)
Create a package breaking out Weekipedia's server side code to make it easier for other express-based node apps to make use of the code:
This will expose the Wikimedia APIs like so: