Contest Scraper fetches details of contests hosted on CodeChef, Codeforces and many others.
Please don't hesitate to file an issue or contribute if you see anything missing.
Currently, the data fetched by the API is used to post stories on Turing Hut's instagram page
git clone https://github.com/linustribevnr/ContestScraper.git
(Virtual Environment Recommended)
sudo apt-get install python-virtualenv
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
python3 -m flask run
This launches a simple local server for development.
- GET /contests : fetches details of contests happening on that day
- GET /allcontests : fetches the details all the upcoming contests
- POST /download?json=
<contest-data>
- generates the image representation of the contest details to post on instagram