text-match
media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.
For example, if you’re looking for a list of popular users, you might try this query:
q=tom+repos:%3E42+followers:%3E1000
This query searches for users with the name tom
. The results are restricted to users with more than 42 repositories and over 1,000 followers.
Parameter | Description |
---|---|
Query | The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see Constructing a search query. See “Searching users” for a detailed list of qualifiers. |
Return All Pages | Automatically fetch all resources, page by page. |
Parameter | Description |
---|---|
Order | Determines whether the first search result returned is the highest number of matches (desc ) or lowest number of matches (asc ). This parameter is ignored unless you provide sort . |
Page | Page number of the results to fetch. |
Per Page | The number of results per page (max 100). |
Sort | Sorts the results of your query by number of followers or repositories , or when the person joined GitHub. Default: best match. |