Skip to content

deepaksuthar40128/Codechef-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kindle update your API URL

from https://codechef-api.vercel.app/{handle of user} to https://codechef-api.vercel.app/handle/{handle of user}

CodeChef REST API

This is a RESTful API built with Node.js that allows users to retrieve data of other CodeChef users using their handle. The API uses web scraping techniques with fetch, JSDOM, and Express to fetch and parse the required information. You can use prebuild components of heatmap and rating graph with various themes to add in you project. Visit Here for more info

If you like it please star it 🥺

API Reference

https://codechef-api.vercel.app/handle/handle_of_user

Get all items

  GET /handle/{your codechef handle}
Parameter Type Description
handle string Required. Codechef handle of user

Components

Heatmap:

image

Rating Graph:

image

Authors

Demo

https://codechef-api.vercel.app/handle/one_deepak

Installation

Install my-project with npm

  npm install
  cd codechef-api

Run Locally

Clone the project

  git clone https://github.com/deepaksuthar40128/Codechef-API

Go to the project directory

  cd codechef-api

Install dependencies

  npm install

Start the server

  npm run start