{"id":24521236,"url":"https://github.com/arnoob16/cpapi","last_synced_at":"2025-04-14T11:14:12.324Z","repository":{"id":54697696,"uuid":"334527004","full_name":"arnoob16/cpAPI","owner":"arnoob16","description":"A Flask API that gives updates about the upcoming contests on various Coding Platforms.","archived":false,"fork":false,"pushed_at":"2021-02-03T07:56:37.000Z","size":36,"stargazers_count":13,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T11:13:47.577Z","etag":null,"topics":["api","api-wrapper","competitive-coding","competitive-programming","competitive-programming-contests","competitive-programming-reference","competitiveprogramming","contest","contest-programming","contests","data-structures","dsa","dsa-algorithm","dsalgo"],"latest_commit_sha":null,"homepage":"https://cp-api.arnoob16.vercel.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arnoob16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-30T22:42:52.000Z","updated_at":"2022-05-20T08:10:31.000Z","dependencies_parsed_at":"2022-08-14T00:20:26.134Z","dependency_job_id":null,"html_url":"https://github.com/arnoob16/cpAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnoob16%2FcpAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnoob16%2FcpAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnoob16%2FcpAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnoob16%2FcpAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnoob16","download_url":"https://codeload.github.com/arnoob16/cpAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-wrapper","competitive-coding","competitive-programming","competitive-programming-contests","competitive-programming-reference","competitiveprogramming","contest","contest-programming","contests","data-structures","dsa","dsa-algorithm","dsalgo"],"created_at":"2025-01-22T02:49:21.637Z","updated_at":"2025-04-14T11:14:12.287Z","avatar_url":"https://github.com/arnoob16.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n\u003cimg height=\"250px\" src=\"https://raw.githubusercontent.com/arnoob16/cpAPI/master/cpApiLogo.png?token=ALWD5TPXQ22W66D2BUNBYBDAD4OOW\"\u003e\n\u003ch1 align=\"center\"\u003eCompetitive Programming Contests API\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    An API built to give you updates about the upcoming contests on various Competitive Coding platforms.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/Contribution-Welcome-blue?style=for-the-badge\"\u003e\n\u003cimg src=\"https://img.shields.io/github/stars/arnoob16/cpAPI?color=gold\u0026style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/github/issues/arnoob16/cpAPI?style=for-the-badge\u0026color=red\"\u003e\n\u003cimg src=\"https://img.shields.io/github/forks/arnoob16/cpAPI?style=for-the-badge\"\u003e\n\u003cimg src=\"https://img.shields.io/github/issues-pr-closed/arnoob16/cpAPI?color=green\u0026style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n\n\n\n---\n\n\u003ch3 align=\"center\"\u003eCoding Platforms Supported\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg height=\"100px\" src = \"https://img.atcoder.jp/assets/atcoder.png\"/\u003e\n    \u003cimg height=\"100px\" src = \"https://www.ime.usp.br/~arcjr/image/codeforces.png\"/\u003e\n    \u003cimg height=\"100px\" src = \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTXBUWY12NOXtKD9UEvtqkKeWAPyJm8GTkgEw\u0026usqp=CAU\"/\u003e\n\u003c/p\u003e\n\n\u003ch6 align=\"center\"\u003eMore platforms will soon be supported.\u003c/h6\u003e\n\n---\n\n\u003ch3 align=\"center\"\u003e\n    How to use this API?\n\u003c/h3\u003e\n\n- Send a `GET` request to https://cp-api.arnoob16.vercel.app/ URL.\n- Response received is an Array of Contest Objects\n- Each contest object has 4 parameters, \n    - `platform` =\u003e The coding platform that is hosting the contest.\n    - `contestName` =\u003e The name of the contest.\n    - `contestLink` =\u003e URL of the contest.\n    - `startTime` =\u003e The starting timestamp of the contest.\n    - `contestDuration` =\u003e The duration of the contest.\n\n```\n{\n  \"contests\": [\n    {\n      \"platform\": \"CodeChef\",\n      \"contestName\": \"CP in 7 days\",\n      \"contestLink\": \"https://www.codechef.com/CP7D2021?itm_campaign=contest_listing\",\n      \"startTime\": \"2021-02-03T16:30:00+0530\",\n      \"contestDuration\": \"02:30 hours.\"\n    },\n    {\n      \"platform\": \"CodeChef\",\n      \"contestName\": \"February Challenge 2021\",\n      \"contestLink\": \"https://www.codechef.com/FEB21?itm_campaign=contest_listing\",\n      \"startTime\": \"2021-02-05T15:00:00+0530\",\n      \"contestDuration\": \"10 Days\"\n    }\n    ]\n}\n```\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"http://ForTheBadge.com/images/badges/made-with-python.svg\"\u003e\n    \u003cimg src=\"http://ForTheBadge.com/images/badges/built-with-love.svg\"\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnoob16%2Fcpapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnoob16%2Fcpapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnoob16%2Fcpapi/lists"}