GitHub
Base URL:https://drain.lat/api/v1/github
GET /profile/:username
GET /profile/:username
Fetch a GitHub user’s public profile.
The GitHub username to look up.
GitHub user ID.
GitHub username.
Display name.
Profile bio.
Company listed on profile.
Location listed on profile.
Public email address.
Personal website URL.
Avatar image URL.
Link to GitHub profile.
Number of followers.
Number of accounts followed.
Number of public repositories.
Number of public gists.
Account creation date.
Last profile update date.
Response
GET /profile/:username/repos
GET /profile/:username/repos
GET /profile/:username/followers
GET /profile/:username/followers
Get a user’s GitHub followers.
The GitHub username.
Response
Returns up to 30 followers.
GET /profile/:username/following
GET /profile/:username/following
Get the list of users a GitHub user follows.
The GitHub username.
Response
Returns up to 30 results.
GET /profile/:username/orgs
GET /profile/:username/orgs
Get the public organizations a GitHub user belongs to.
The GitHub username.
Response
GET /repo/:owner/:repo
GET /repo/:owner/:repo
Get info for a single GitHub repository.
Repository owner (user or org).
Repository name.
Repository ID.
Repository name.
Full name including owner.
Repository description.
Primary language.
Star count.
Fork count.
Open issue count.
Whether the repo is private.
Whether the repo is a fork.
Whether the repo is archived.
Topic tags.
License identifier.
Default branch name.
Response
GET /repo/:owner/:repo/commits
GET /repo/:owner/:repo/commits
