xpsanimes
v0.0.4
Published
Pack to get anime data
Downloads
2
Maintainers
Readme
Search Anime:
import { XpsAnime } from "xpsanimes/src";
(async () => {
const anime = new XpsAnime();
const psq = await anime.animeSch({
name: "One piece",
});
console.log(psq);
})();
/*
[
{
title: "",
url: "",
eps_length: "",
cardImg: ""
}
]
*/
Get infos of Anime:
import { XpsAnime } from "xpsanimes/src";
(async () => {
const anime = new XpsAnime();
const info = await anime.getInfoAnime({
url: "https://.....",
});
console.log(info);
/*
{
title: "",
views: "",
year: "",
quality: "",
description: "",
gens: [""],
eps: [{
link: "",
name_ep: ""
}]
}
*/
})();
Get last release Animes:
import { XpsAnime } from "xpsanimes/src";
(async () => {
const anime = new XpsAnime();
const release = await anime.lastRelease();
console.log(release);
/*
[{
link_anime: "",
nameAnime: "",
cardImg: ""
}]
*/
})();