GitHub & Code
searchCode
Search Code
Search code across the user's GitHub repositories with GitHub code-search syntax.
Arguments
perPagenumberoptionalResults per pagequerystringrequiredGitHub code search query (e.g., 'addClass repo:jquery/jquery')
Returns
The registry does not declare a return shape.
Declared limits
perPage: minimum 1perPage: maximum 100
Ask for it
The Cloud routes these requests to this verb.
- find code that does X
- search GitHub for Y
Pair it with
The verbs that finish the job.