this is my first time web scraping, all this data API from https://otakudesu.bid/
- Clone this repository
git clone https://github.com/RizkyFauziIlmi/otakudesu-anime-api.git
- Install dependecies (
yarn
ornpm install
)npm install
- Start the development environment
npm run dev or npm run start
- visit http://localhost:8000 or another port if you changed it
API PATH = https://otakudesu-anime-api.vercel.app
ApI Version = v1.0
[pageNumber] = 1-3 (may change depending on the database)
/api/v1/ongoing/[page]
example : https://otakudesu-anime-api.vercel.app/api/v1/ongoing/1
[page] = 1-46 (may change depending on the database)
/api/v1/completed/[page]
example : https://otakudesu-anime-api.vercel.app/api/v1/completed/1
[q] = any string
/api/v1/search/[q]
example : https://otakudesu-anime-api.vercel.app/api/v1/search/black%20clover
/api/v1/anime-list
example : https://otakudesu-anime-api.vercel.app/api/v1/anime-list
[endpoint] : String
/api/v1/detail/[endpoint]
example : https://otakudesu-anime-api.vercel.app/api/v1/detail/chaisaw-sub-indo
[endpoint] : String
/api/v1/batch/[endpoint]
example : https://otakudesu-anime-api.vercel.app/api/v1/batch/hakumao-s2-batch-sub-indo/
/api/v1/genres
example : https://otakudesu-anime-api.vercel.app/api/v1/genres
[genre] : String [page] : 1 - ... (depend on genre)
/api/v1/genres/[genre]/[page]
example : https://otakudesu-anime-api.vercel.app/api/v1/genres/action/1