List of interesting GitHub endpoints of APIs
Aug 1, 2021
This post will show you some GitHub REST API endpoints that you can use
List of Contributors of an organization
GET https://api.github.com/repos/:owner/:repo/contributors
List of repositories of a user
GET https://api.github.com/users/:user/repos
Get users by location
GET https://api.github.com/search/users?q=location:"El Salvador"&page=1
Information of organization
GET https://api.github.com/orgs/:org
Members of an organization
GET https://api.github.com/orgs/:org/public_members
Organizations by location
GET https://api.github.com/search/users?q=type:"org"location:"El Salvador"&page=1
Profile of a user
GET https://api.github.com/users/:user
Followers of a user
GET https://api.github.com/users/:user/followers
Gists of a user
GET https://api.github.com/users/:owner/gists
Organizations of a user, don’t include if is owner
GET https://api.github.com/users/:owner/orgs