GitHub Scraper
Get GitHub Repositories
List a GitHub user's public repositories with description, language, stars, forks, topics and license.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · optional | string | optional | GitHub user URL, e.g. https://github.com/kentcdodds. Example: |
| sortstring · optional | string | optional | Sort by created, updated, pushed, or full_name. Defaults to updated. One of: |
| typestring · optional | string | optional | Repository type. Defaults to owner. GitHub also supports all and member. One of: |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| cursornumber · optional | number | optional | Cursor from the previous response. Defaults to 1. Default: |
| handlestring · optional | string | optional | GitHub username/handle of the user you want the repositories for |
| directionstring · optional | string | optional | Sort direction: ascending or descending. One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cursor": {
"type": "number"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"repositories": {
"type": "array"
}
},
"additionalProperties": true
}