1.1.9 • Published 11 months ago

mangasee-api v1.1.9

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

MangaSee API

Api

every Api should have 3 methods:

  • search - use the api to search for the manga
  • getDetails - get details for specific manga (use as refresh)
  • getChapterSlides - get the slides of specific manga episode
(async () => {
  const api = await initializeMangaSeeApi('axios');
  console.log(api.mangaRecords.length);
  const searchRes = api.search('skeleton');
  console.log('Search results', searchRes);
  const selectedManga = searchRes[1];
  console.log('selectedManga', selectedManga);
  const selectedMangaCanonicalName = selectedManga!.canonicalName;
  console.log('selectedMangaCanonicalName', selectedMangaCanonicalName);
  const selectedMangaDetails = await api.getDetails(selectedMangaCanonicalName);
  console.log('selectedMangaDetails', selectedMangaDetails);
  const chapterSlides = await api.getChapterSlides(
    selectedMangaDetails.canonicalName,
    selectedMangaDetails.chapters[0].chapter,
    selectedMangaDetails.chapters[0].totalSlides,
  );
  console.log('chapterSlides', chapterSlides);
})();
1.1.9

11 months ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago