GET
github_search_issues.py
from charter.packs import github
result = await github.search_issues.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. repo:octocat/hello-world is:issue is:open label:bug. Qualifiers narrow the search: repo:, org:, author:, assignee:, is:open, is:closed, is:pr, is:issue, label:, created:>2024-01-01. |
sort | IssueSearchSort | Sorts the results by the given field. Default: results are sorted by best match. |
advancedSearch | boolean | Set to true to use advanced search, which adds AND/OR keywords and nested parenthesised queries to the qualifier syntax. |
searchType | "semantic" | "hybrid" | Which search algorithm to apply. semantic matches on meaning rather than keywords, hybrid combines both. Omit for a lexical search, which is the default. |