MCPcopy
hub / github.com/MALSync/MALSync / _init

Method _init

src/_provider/Kitsu/metaOverview.ts:40–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 async _init() {
41 this.logger.log(
42 'Retrieve',
43 this.type,
44 this.kitsuSlug ? `Kitsu: ${this.kitsuSlug}` : `MAL: ${this.malId}`,
45 );
46
47 await this.getData();
48 this.logger.log('Data', this.animeInfo);
49
50 this.title();
51 this.description();
52 this.image();
53 this.alternativeTitle();
54 this.characters();
55 this.statistics();
56 this.info();
57 this.related();
58
59 this.logger.log('Res', this.meta);
60 }
61
62 private async getData() {
63 if (!this.kitsuSlug) {

Callers

nothing calls this directly

Calls 9

getDataMethod · 0.95
titleMethod · 0.95
descriptionMethod · 0.95
imageMethod · 0.95
alternativeTitleMethod · 0.95
charactersMethod · 0.95
statisticsMethod · 0.95
infoMethod · 0.95
relatedMethod · 0.95

Tested by

no test coverage detected