How to use the search function from @octokit/rest
Find comprehensive JavaScript @octokit/rest.search code examples handpicked from public code repositorys.
33 34 35 36 37 38 39 40 41 42
try { const options = method.endpoint.merge(queryObject) const data = await octokit.paginate( options, (response) => { return (method === octokit.search.issues) ? response.data.items : response.data } ); return data; } catch(e) {
+ 3 other calls in file
@octokit/rest.Octokit is the most popular function in @octokit/rest (61 examples)