Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/arnoob16/cpAPI

A Flask API that gives updates about the upcoming contests on various Coding Platforms.
https://github.com/arnoob16/cpAPI

api api-wrapper competitive-coding competitive-programming competitive-programming-contests competitive-programming-reference competitiveprogramming contest contest-programming contests data-structures dsa dsa-algorithm dsalgo

Last synced: 15 days ago
JSON representation

A Flask API that gives updates about the upcoming contests on various Coding Platforms.

Lists

README

        



Competitive Programming Contests API


An API built to give you updates about the upcoming contests on various Competitive Coding platforms.








---

Coding Platforms Supported





More platforms will soon be supported.

---


How to use this API?

- Send a `GET` request to https://cp-api.arnoob16.vercel.app/ URL.
- Response received is an Array of Contest Objects
- Each contest object has 4 parameters,
- `platform` => The coding platform that is hosting the contest.
- `contestName` => The name of the contest.
- `contestLink` => URL of the contest.
- `startTime` => The starting timestamp of the contest.
- `contestDuration` => The duration of the contest.

```
{
"contests": [
{
"platform": "CodeChef",
"contestName": "CP in 7 days",
"contestLink": "https://www.codechef.com/CP7D2021?itm_campaign=contest_listing",
"startTime": "2021-02-03T16:30:00+0530",
"contestDuration": "02:30 hours."
},
{
"platform": "CodeChef",
"contestName": "February Challenge 2021",
"contestLink": "https://www.codechef.com/FEB21?itm_campaign=contest_listing",
"startTime": "2021-02-05T15:00:00+0530",
"contestDuration": "10 Days"
}
]
}
```