GitHub
Repositories
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.
get/v1/github/user/repositories
Query parameters
handlestring
GitHub username/handle of the user you want the repositories for
urlstring
GitHub user URL, e.g. https://github.com/kentcdodds.
type'owner' | 'all' | 'member'
Repository type. Defaults to owner. GitHub also supports all and member.
sort'created' | 'updated' | 'pushed' | 'full_name'
Sort by created, updated, pushed, or full_name. Defaults to updated.
direction'asc' | 'desc'
Sort direction: ascending or descending.
cursornumber
Cursor from the previous response. Defaults to 1.
Response
Successful response
Changes
No recorded changes to this endpoint across all 1 revision of this API.