Get data like user global rank, country rank , rating and stars from this api
URL : https://api-base-sahil.herokuapp.com/codechef
Request Type | Parameters |
---|---|
POST | "username" - > Codechef Username |
GET | "username" - > Codechef Username |
Example Request POST
import requests
URL = "https://api-base-sahil.herokuapp.com/codechef"
parameters={
"username":"username"
}
r = requests.post(URL,params=parameters)
print(r.text)
Example Request GET
import requests
URL = "https://api-base-sahil.herokuapp.com/codechef"
parameters={
"username":"username"
}
r = requests.get(URL,params=parameters)
print(r.text)