Repositories
github_repositoriesRetrieve a GitHub user's public repositories and metadata such as language, stars, forks, topics, and license by username, handle, or URL; supports sorting and pagination.
Instructions
Retrieves a user's public repositories with repo metadata like description, language, stars, forks, topics, license, visibility, default branch, and timestamps. Pass username, handle, or url. Supports pagination with cursor, plus GitHub's type, sort, and direction parameters. Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | GitHub user URL, e.g. https://github.com/kentcdodds. | |
| sort | No | Sort by created, updated, pushed, or full_name. Defaults to updated. | |
| type | No | Repository type. Defaults to owner. GitHub also supports all and member. | |
| cursor | No | Cursor from the previous response. Defaults to 1. | |
| handle | No | GitHub username/handle of the user you want the repositories for | |
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| direction | No | Sort direction: ascending or descending. |