DEV Community

Cover image for List of interesting GitHub endpoints of APIs
Nelson Hernández
Nelson Hernández

Posted on

3 1

List of interesting GitHub endpoints of APIs

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
Enter fullscreen mode Exit fullscreen mode

List of repositories of a user

GET https://api.github.com/users/:user/repos
Enter fullscreen mode Exit fullscreen mode

Users by location

GET https://api.github.com/search/users?q=location:"El Salvador"&page=1
Enter fullscreen mode Exit fullscreen mode

Information of organization

GET https://api.github.com/orgs/:org
Enter fullscreen mode Exit fullscreen mode

Members of an organization

GET https://api.github.com/orgs/:org/public_members
Enter fullscreen mode Exit fullscreen mode

Organizations by location

GET https://api.github.com/search/users?q=type:"org"location:"El Salvador"&page=1
Enter fullscreen mode Exit fullscreen mode

Profile of a user

GET https://api.github.com/users/:user
Enter fullscreen mode Exit fullscreen mode

Followers of a user

GET https://api.github.com/users/:user/followers
Enter fullscreen mode Exit fullscreen mode

Gists of a user

GET https://api.github.com/users/:owner/gists
Enter fullscreen mode Exit fullscreen mode

Repositories of a user

GET https://api.github.com/users/:owner/repos
Enter fullscreen mode Exit fullscreen mode

Organizations of a user, don't include if is owner

GET https://api.github.com/users/:owner/orgs
Enter fullscreen mode Exit fullscreen mode

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Bump.sh

Hate writing docs?

Hate undocumented APIs even more?

Bump.sh generates an always up-to-date API reference site for REST and Event-Driven Architectures.

Plug it in your CI. It fetches your OpenAPI and AsyncAPI (GraphQL pending) spec files, and even generates a diff. Gather all of your API docs in a single source of truth.

Try it for free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay