MCPcopy
hub / github.com/leonhartX/gas-github / getGitHubJSON

Function getGitHubJSON

src/util.js:56–68  ·  view source on GitHub ↗
(url, accessToken, data)

Source from the content-addressed store, hash-verified

54}
55
56function getGitHubJSON(url, accessToken, data) {
57 return $.ajax({
58 url: url,
59 headers: {
60 'Authorization': `token ${accessToken}`
61 },
62 method: 'GET',
63 crossDomain: true,
64 dataType: 'json',
65 data: data,
66 contentType: 'application/json'
67 })
68}

Callers 5

pushToRepoMethod · 0.85
getRepoCodeMethod · 0.85
getGistCodeMethod · 0.85
createBranchMethod · 0.85
followPaginateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected