Skip to content

GitHub API

GitHub (github.com) has 5 public methods: search repositories, get repository facts, list trending repositories, list releases and list issues or pull requests. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.

Unofficial. Not affiliated with or endorsed by GitHub.

Methods

5
  • Finds public GitHub repositories by keywords, with an optional language filter and sort order. Returns up to 100 matches.

    Returns name, owner, description, stars, forks, main_language, last_updated_date, project_link, full_name, repository_id

    Readgithub.com/search_repositories
  • Looks up a public GitHub repository by name, owner/name, or link and returns its stars, forks, release, commit and contributor facts.

    Returns repository name, description, stars, forks, watchers, open issues, language, license, topics, release, last commit, contributors, links

    Readgithub.com/get_repository
  • Lists up to 25 public repositories trending on GitHub, in page order, optionally filtered by programming language and time period.

    Returns rank, project name, owner, description, language, total stars, stars gained, forks, link

    Readgithub.com/list_trending_repositories
  • Lists published, non-draft releases of a public GitHub project, newest first. A bare project name matches the most-starred repository.

    Returns project details and releases with version, title, date, pre-release flag, notes, download files and page link

    Readgithub.com/list_releases
  • Lists public issues or pull requests for a GitHub project, with state, label and sort options. A bare project name matches the most-starred repository with that name.

    Returns project, project link, items with title, number, author, labels, state, comment count, dates, link

    Readgithub.com/list_issues