# GitHub API

> 5 public methods for GitHub (github.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by GitHub.

- Page: https://fous.com/methods/github.com

## Methods

### [Search repositories](https://fous.com/methods/github.com/search-repositories.md)

`github.com/search_repositories`, read. 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

### [Get repository facts](https://fous.com/methods/github.com/get-repository.md)

`github.com/get_repository`, read. 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

### [List trending repositories](https://fous.com/methods/github.com/list-trending-repositories.md)

`github.com/list_trending_repositories`, read. 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

### [List releases](https://fous.com/methods/github.com/list-releases.md)

`github.com/list_releases`, read. 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

### [List issues or pull requests](https://fous.com/methods/github.com/list-issues.md)

`github.com/list_issues`, read. 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
