This rest api is unofficial. So I am not responsible if there is incomplete/broken data.
All data taken from: Samehadaku
- Home (Anime This Season)
- Ongoing
- Pagination
- Schedule
- Genre
- Anime By Genre With Pagination
- Anime
- Pagination
- Detail
- Batch
- Episode List
- Anime Movie
- Detail
- Episode List
- Batch
- Detail
- Download Link
- Detail Episode
- Pagination Per Episode
- Streaming Link
- Download Episode & Batch Link
- Season
- Anime By Season With Pagination
- Studio
- Anime By Studio With Pagination
- Producer
- Anime By Producer With Pagination
- Search
- Refactor Code Anime & Batch Detail Functions (If it is possible)
- Handle If host site is error/down
- Clone this repository
mkdir -p ~/Documents/git && git clone --depth=1 https://github.com/Hanivan/restAPI-Samehadaku.git ~/Documents/git/restAPI-Samehadaku && cd ~/Documents/git/restAPI-Samehadaku
- Install packages (use
yarn
ornpm
)
yarn install
- Start server
yarn start
or
yarn dev (for development)
API Path: https://samehadaku-api.herokuapp.com/api
API Version: v1
Endpoint | Params | Description |
---|---|---|
/home | - | Homepage (Current Season) |
/anime | - | List All Anime |
/anime/page/${page} | pageNumber | Anime Pagination |
/anime/${id} | id | Detail Anime |
/ongoing | - | List All Ongoing Anime |
/ongoing/page/${page} | pageNumber | Ongoing Pagination |
/movie | - | List All Anime Movie |
/movie/page/${page} | pageNumber | Anime Movie Pagination |
/genres | - | List All Genre |
/genres/${id} | id | Show Anime by Genre |
/genres/${id}/page/${page} | id,pageNumber | ~~ Anime by Genre With Pagination |
/batch | - | List All Anime Batch |
/batch/page/${page} | pageNumber | Batch Pagination |
/batch/${id} | id | Detail Anime Batch |
/eps/${id} | id | ~~ Anime Episode |
/schedule | - | Schedule Anime |
/studio/${id} | id | Show Anime by Studio |
/studio/${id}/page/${page} | id,pageNumber | ~~ Anime by Studio With Pagination |
/producer/${id} | id | Show Anime by Producer |
/producer/${id}/page/${page} | id,pageNumber | ~~ Anime by Producer With Pagination |
/season/${id} | id | ~~ Anime by Season |
/season/${id}/page/${page} | id,pageNumber | ~~ Anime by Season With Pagination |
/search/${query} | query | Search Anime |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Start Work: Sunday, 16 January 2022; 16:-- WIB
Finished Work: Thursday, 27 January 2022; 15:-- WIB
Absence: Monday, 24 January 2022
Reason: Learn GoLang
Thank you Kaede-No-Ki/otakudesu-rest-api for the inspiration to make this app
Tools I used for making this application: