Skip to content

๐Ÿ“† Javascript fetcher for Wikipedia "On this day" events.

License

Notifications You must be signed in to change notification settings

jacqueslorentz/onthisday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Onthisday

๐Ÿ“† Javascript fetcher for Wikipedia "On this day" events.

Getting Started

A script used to fetch events from wikipedia for a specific day (today by default).

Usage

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.

Here is a test API.

Possible query parameters:

  • lang Language to fetch (en, fr, ru or de 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...

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details

Jacques Lorentz

About

๐Ÿ“† Javascript fetcher for Wikipedia "On this day" events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published