Skip to content

API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit

License

Notifications You must be signed in to change notification settings

saurabh-prakash/Competitive_Programming_Score_API

 
 

Repository files navigation

Competitive_Programming_Score_API

A REST API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit

Base URL

https://competitive-coding-api.herokuapp.com/api/

Request Format

https://competitive-coding-api.herokuapp.com/api/{platform_name}/{user_name}

Example URL

https://competitive-coding-api.herokuapp.com/api/codechef/abhijeet_ar

Example Badges

Shields can create dynamically updated badges from a JSON source such as this API. More configuration options are also available in their section on dynamic badges.

Replace <USERNAME> with your username on that platform.

abhijeet_ar's profile on Codeforces

https://img.shields.io/badge/dynamic/json?&color=1f8acb&logo=codeforces&label=Codeforces&url=https://competitive-coding-api.herokuapp.com/api/codeforces/<USERNAME>&query=%24.<FIELD>&prefix=<TEXT>&style=for-the-badge&cacheSeconds=86400

Suggested use,

  • <FIELD> = rating
  • <TEXT> = Rating%20

radix28_numb's profile on CodeChef

https://img.shields.io/badge/dynamic/json?label=CodeChef&query=%24.global_rank&url=https://competitive-coding-api.herokuapp.com/api/codechef/<USERNAME>&prefix=<TEXT>&logo=codechef&logoColor=f5f5dc&labelColor=7b5e47&style=for-the-badge&cacheSeconds=86400

Suggested use,

  • <FIELD> = global_rank, country_rank or rating
  • <TEXT> = Rank%20, country abbreviation (e.g., US%20%23) or Rating%20

Pro Tip 💡

Use this JSON Formatter Chrome Extension to view in a structured format.

Platforms Available

  • Codeforces
  • Codechef
  • SPOJ
  • Interviewbit
  • Leetcode (new)

If you would like to leave a feedback or request a feature, please open an issue or feel free to PR. Do follow these instructions to make a valid PR.

About

API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.1%
  • HTML 7.9%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy