MCPcopy
hub / github.com/ThatGuySam/doesitarm / getJson

Function getJson

helpers/http.js:188–196  ·  view source on GitHub ↗
( url, options = {} )

Source from the content-addressed store, hash-verified

186}
187
188export async function getJson ( url, options = {} ) {
189 const { data } = await request( url, {
190 ...options,
191 method: 'GET',
192 responseType: 'json'
193 } )
194
195 return data
196}
197
198export async function getText ( url, options = {} ) {
199 const { data } = await request( url, {

Callers 8

fetchBundleGenresFunction · 0.90
build-app-list.jsFile · 0.90
makeMethod · 0.90
fetchJsonWithRetriesFunction · 0.90
saveYouTubeVideosFunction · 0.90
http.test.tsFile · 0.90
index.test.tsFile · 0.90

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected