bleood.xyz api

github api

base url

https://api.bleood.xyz

GET /user/:username

returns raw github api response and a parsed response

example response
{
  "raw": {
    "login": "octocat",
    "avatar_url": "...",
    "public_repos": 8,
    "followers": 22504
  },
  "parsed": {
    "username": "octocat",
    "avatar": "...",
    "bio": null,
    "location": "San Francisco",
    "followers": 22504,
    "publicRepos": 8,
    "profileUrl": "https://github.com/octocat"
  }
}

GET /repos/:username

returns all repositories for then given user organized by star count

example response
[
  {
    "name": "Spoon-Knife",
    "stars": 13767,
    "forks": 157001,
    "language": "HTML",
    "url": "https://github.com/octocat/Spoon-Knife"
  }
]

GET /commits/:username

extract commit emails of a user

example response
{
  "username": "octocat",
  "emails": {
    "octocat@nowhere.com": ["The Octocat"],
    "_totalCommits": 16
  }
}

info

return to main page