GET
github_search_repositories.py
from charter.packs import github
result = await github.search_repositories.ainvoke({"q": ...})
Requires
repo, read:user. Pages by number: page with per_page.Query parameters
| Field | Type | Description |
|---|---|---|
perPage | integer | The number of results per page (max 100). Defaults to 30. ≥ 1; ≤ 100; defaults to 30 |
page | integer | The page number of the results to fetch. Defaults to 1. ≥ 1; defaults to 1 |
order | SortDirection | Determines whether the first search result returned is the highest number of matches (desc) or lowest (asc). Ignored unless sort is provided. GitHub uses desc when this is absent. |
q * | string | The query containing one or more search keywords and qualifiers, e.g. tetris language:assembly stars:>100. Qualifiers include language:, stars:, forks:, topic:, org:, user:, license:. |
sort | RepoSearchSort | Sorts the results by number of stars, forks, help-wanted issues, or how recently the items were updated. Default: best match. |