๐ Javascript fetcher for Wikipedia "On this day" events.
A script used to fetch events from wikipedia for a specific day (today by default).
yarn start [-a|--all] [-h|--html] [-l||--lang <language>]
Options:
--lang Wikipedia language to get (`en`, `fr`, `ru` or `de` for now)
--all Used to get all wikipedia events
--html When defined return the html value with links
In ./sources/aws.js
in an script example to deploy it on AWS.
Possible query parameters:
- lang Language to fetch (
en
,fr
,ru
orde
for now) - day Day for date to fetch (default is today)
- month Month for date to fetch (default is today)
- html Returns html content
- all Returns all wikipedia's events
Do not flood the API, I will shut it down otherwise...
- cheerio - Implementation of core jQuery for servers
- request-promise - Simplified HTTP request client
This project is licensed under the MIT License - see the LICENSE file for details
Jacques Lorentz