REST API streaming dan download Anime subtitle Indonesia dari berbagai sumber
API ini unofficial jadi kaga ada kaitan dengan sumber yang tersedia... MOHON IZIN ABANG SUMBER, sumber bisa bertambah, req/dm rekomendasi situs yang bagus
# clone repo
git clone https://github.com/wajik45/wajik-anime-api.git
# masuk folder
cd wajik-anime-api
# install dependensi
npm install
# build
npm run build
# menjalankan server
npm start
# development
npm run dev
Endpoint | Description |
---|---|
/{sumber} | Deskripsi ada di response sesuai dengan sumber, patengin bae tuh response |
(async () => {
const response = await fetch("http://localhost:3001/otakudesu/ongoing?page=1");
const result = await response.json();
console.log(result);
})();
{
"statusCode": 200,
"statusMessage": "OK",
"message": "",
"ok": true,
"data": {
"animeList": [
{
"title": "Dr. Stone Season 3 Part 2",
"poster": "https://otakudesu.cloud/wp-content/uploads/2024/01/Dr.-Stone-Season-3-Part-2-Sub-Indo.jpg",
"episodes": 11,
"releaseDay": "Jum'at",
"latestReleaseDate": "05 Jan",
"animeId": "drstn-s3-p2-sub-indo",
"href": "/otakudesu/anime/drstn-s3-p2-sub-indo/",
"otakudesuUrl": "https://otakudesu.cloud/anime/drstn-s3-p2-sub-indo/"
},
{"..."}
]
},
"pagination": {
"currentPage": 1,
"hasPrevPage": false,
"prevPage": null,
"hasNextPage": true,
"nextPage": 2,
"totalPages": 4
},
}
Nyusul kalo sempet..