- Notifications
You must be signed in to change notification settings - Fork1
codeIIEST/codeforces-best-performer-scraper
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
main.py uses the CF Contest Stadings API to get the results and then finds the ranks of those handles mentioned in the data.json and then tabulates and ranks the result in a table format
addUser.py aids in appending (for the time being, more features will be updated later) new user to the JSON.
Bluesoup4 (https://pypi.org/project/beautifulsoup4/)
pip3 install beautifulsoup4Tabulate (https://pypi.org/project/tabulate/ )
pip3 install tabulate
$ python3 main.py
It will ask for the contest id. Contest ID for CodeForces contest is the number which you can find in the URL.If the contest URL ishttps://codeforces.com/contest/1326Then the number 1326 is the contest ID. After you provide the contest ID it will take some time fecthing the data, and tabulating the results. The final ouput will be exported to theresults.txt
$ python3 addUser.pyAfter providing the details the data.json file will be updated and the new entry will be added.
- CSV to JSON (https://www.convertcsv.com/csv-to-json.htm )
- JSON editor (https://jsoneditoronline.org/#left=local.zejeve )
About
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.