Skip to content

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}
ParameterTypeDescription
handlestringRequired. 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

Releases

Packages

Used by

Contributors

Languages