Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 552 Bytes

File metadata and controls

31 lines (25 loc) · 552 Bytes

RootMe Stats API

Example JSON Response:

{
  "totalChallenge": "594",
  "userChallenge": "11",
  "userName": "leo_gregori",
  "userPercent": "1%",
  "userRank": "130482",
  "userScore": "90"
}

📌 Using the API will return a JSON response with the user's Root-Me statistics.

Usage:

With curl:

curl "https://rootmeapi.vercel.app/api?username=leo_gregori"

With python:

import requests

url = "https://rootmeapi.vercel.app/api?username=leo_gregori"

data = requests.get(url).json()
print(data)