MCPcopy Create free account
hub / github.com/MALSync/MALSync / apiCall

Method apiCall

src/_provider/Kitsu/single.ts:341–351  ·  view source on GitHub ↗
(
    mode: 'GET' | 'POST' | 'DELETE' | 'PUT',
    url,
    variables = {},
    authentication = true,
  )

Source from the content-addressed store, hash-verified

339 }
340
341 protected apiCall(
342 mode: 'GET' | 'POST' | 'DELETE' | 'PUT',
343 url,
344 variables = {},
345 authentication = true,
346 ) {
347 return helper.apiCall(mode, url, variables, authentication).catch(e => {
348 if (e instanceof NotAutenticatedError) throw new NotAutenticatedError(e.message);
349 throw e;
350 });
351 }
352
353 protected kitsuSlugtoKitsu(kitsuSlug: string, type: any) {
354 return this.apiCall(

Callers 15

_updateMethod · 0.95
_syncMethod · 0.95
kitsuSlugtoKitsuMethod · 0.95
malToKitsuMethod · 0.95
userIdMethod · 0.95
_deleteMethod · 0.95
_updateMethod · 0.95
_syncMethod · 0.95
_deleteMethod · 0.95
getDataMethod · 0.45
userRequestMethod · 0.45
getPartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected