1.0.9 • Published 6 years ago
animeyt.js v1.0.9
Dumb package for using my API
Install
$ npm install animeyt.js
Usage
$ npm test
or:
const animu = require("animeyt.js");
animu.getLast().then(a => {
console.log(a);
});
/* Output Example
* {
* "last": {
* "title":"Megalo Box 5 Sub Español",
* "thumb":"https://www.animeyt.tv/files/img/capitulos/m_28820.png",
* "link":"https://www.animeyt.tv/ver/megalo-box-5-sub-espanol"
* }
* }
*/
animu.getLast(2); // Will output the next to last upload
animu.getUploads(); // Will output last 40 uploads
animu.getUploads(3); // Will output last 3 uploads
Contribute
Want to contribute? Let me know on Twitter