Giter Site home page Giter Site logo

abhijeet-ar / competitive_programming_score_api Goto Github PK

View Code? Open in Web Editor NEW
179.0 6.0 59.0 12.52 MB

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

License: MIT License

Python 93.08% HTML 6.85% Procfile 0.07%
api-rest api competitive-programming competitive-programming-contests competitive-coding spoj codeforces-api spoj-api codeforces codechef

competitive_programming_score_api's Introduction

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)
  • Atcoder

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.

competitive_programming_score_api's People

Contributors

abhijeet-ar avatar dependabot[bot] avatar k3kaw8pnf7mkmdsmphz27 avatar sainad2222 avatar samba9274 avatar saurabh-prakash avatar virtualmanu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

competitive_programming_score_api's Issues

How to access questions?

Is there any way to use this API to get if a user has solved a particular question or not?
Codeforces in particular..

Deployment error

since heroku discontinued its free tier, can you please mention the steps to deploy this project on different platforms(like vercil) on our own

Installation instructions in windows

Hello bro,
bro can you please share installation instructions or procedure to get scores by using your repo
I had installed all the packages in requirements.txt and stuck how to install it. can you please solve the issue by sharing installation methods.
Thank you

Shift to free hosting service

Hi abhijeet really love the work you have done on this API, I am building an app using it. As you may know heroku has shut down free tier after Salesforce acquisition, If you haven't taken a premium plan maybe deploy it on a free hosting service before it stops working

Thank you so much

Bug: Error in Username

Error in Username (happens only when user has no rating)

API should return null or 1 star (according to codechef)
image

Adding CONTRIBUTING.md

Suggested points to be added!

  • How to run project locally (for development purpose).
  • Project guidelines
  • Adding Code of Conduct
  • Pull Request Instructions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.