MCPcopy Create free account
hub / github.com/axios/axios / getPR

Method getPR

bin/GithubAPI.js:66–68  ·  view source on GitHub ↗
(issue)

Source from the content-addressed store, hash-verified

64 }
65
66 async getPR(issue) {
67 return (await this.axios.get(`/pulls/${issue}`)).data;
68 }
69
70 async getIssues({state= 'open', labels, sort = 'created', desc = false, per_page = 100, page = 1}) {
71 return (await this.axios.get(`/issues`, {params: {state, labels, sort, direction: desc ? 'desc' : 'asc', per_page, page}})).data;

Callers 1

notifyPRPublishedMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected