Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Wei-1/Codingame-Badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Note - 2021-06-08

The DEMO website for Codingame-Badge is no longer working because the cross origin server is now limited from public usage.

The POST API from Codingame is still solid at 2021-06-08.

One will need to deploy their own cross origin server and modify the server address in the JS file.

This repo will no longer be maintained.


Codingame-Badge

sample

https://wei-1.github.io/Codingame-Badge/

Usage

Login to Codingame and get the Codingame ID in the URL of ones profile page.

https://www.codingame.com/profile/

Put the Codingame ID in the input box in the web page, and click submit.

Wait for some time and see the badge changing based on ones Codingame rank.

Example

For Wei-1, one will be able to see his profile at

https://www.codingame.com/profile/3f4adfba53d1ae216fb40f9c51b72c843953371

Therefore, Wei-1's Codingame ID is 3f4adfba53d1ae216fb40f9c51b72c843953371.

Notes

This project aims to create badges for Codingame Rank.

One difficulty while testing is that CG's api does not allow cross origin.

Therefore, we use the open demo server from cors-anywhere.

https://cors-anywhere.herokuapp.com/

Refs

https://github.com/Orabig/codingame-api-rfc

https://github.com/Rob--W/cors-anywhere

https://gist.github.com/soundstorm/266148cd9dbbdcf5cbc18ce26d75d3ea

About

A webpage for getting info from CG and create badges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages