Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wajik45/wajik-anime-api
REST API streaming dan download Anime subtitle Indonesia | sub Indo
https://github.com/wajik45/wajik-anime-api
anime anime-api anime-downloader anime-scraper anime-sub-indo express otakudesu rest-api scraper scraping
Last synced: about 2 hours ago
JSON representation
REST API streaming dan download Anime subtitle Indonesia | sub Indo
- Host: GitHub
- URL: https://github.com/wajik45/wajik-anime-api
- Owner: wajik45
- License: mit
- Created: 2023-07-24T10:18:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T16:56:09.000Z (14 days ago)
- Last Synced: 2024-11-03T17:31:13.947Z (14 days ago)
- Topics: anime, anime-api, anime-downloader, anime-scraper, anime-sub-indo, express, otakudesu, rest-api, scraper, scraping
- Language: TypeScript
- Homepage: https://wajik-anime-api.vercel.app
- Size: 188 KB
- Stars: 19
- Watchers: 1
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wajik-anime-api
REST API streaming dan download Anime subtitle Indonesia dari berbagai sumber
# Sumber:
API ini unofficial jadi kaga ada kaitan dengan sumber yang tersedia...
MOHON IZIN ABANG SUMBER, sumber bisa bertambah, req/dm rekomendasi situs yang bagus1. otakudesu: https://otakudesu.cloud
2. samehadaku: https://samehadaku.email- domain sering berubah jangan lupa pantau terus untuk edit url ada di di "src/configs/animeConfig.ts"
# Installasi
- NodeJS >= 20.x
- Jalankan perintah di terminal```sh
# 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
```- Server akan berjalan di http://localhost:3001
- Untuk menghapus sumber ada di "src/anims/{sumber yang ingin dihapus}" kemudian hapus baris kode sumber yang sudah tidak diperlukan di "src/index.ts" dan "src/controllers/mainController.ts"# Routes
| Endpoint | Description |
| --------- | ------------------------------------------------------------------------- |
| /{sumber} | Deskripsi ada di response sesuai dengan sumber, patengin bae tuh response |### Contoh request
```js
(async () => {
const response = await fetch("http://localhost:3001/otakudesu/ongoing?page=1");
const result = await response.json();console.log(result);
})();
```### Contoh response
```json
{
"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
},
}
```### CONTOH UI
Nyusul kalo sempet..