API Manga bahasa Indonesia
-
Clone this repository
git clone https://github.com/letha11/manga-api.git
-
Install dependecies
yarn # OR npm install
-
Start the development environment (*if you haven't installed nodemon globally, you can do
npm install -g nodemon
npm run dev # OR npm run start
API PATH = https://mangaoi.herokuapp.com/api/
Get All Manga
manga/filter/[pageNumber]
example : https://mangaoi.herokuapp.com/api/manga/filter/1
manga/search/1?search=the%20beginning%20after%20the%20end
example : https://mangaoi.herokuapp.com/api/manga/search/1?search=the%20beginning%20after%20the%20end
genres/
example : https://mangaoi.herokuapp.com/api/genres/
you can see the value of genre, type, order, status. you can use it like this :
manga/filter/[pageNumber]?genre=[genreValue]&type=[typeValue]&order=[orderValue]&status=[statusValue]
example : https://mangaoi.herokuapp.com/api/manga/filter/1?genre=9&type=manhwa&order=popular&status=ongoing
that example above is going to search manga that have genre of action AND comic type is manhwa AND order by popularity AND status is ongoing
manga/detail/[endpoint]
example : https://mangaoi.herokuapp.com/api/manga/detail/god-of-blackfield
ch/[endpoint]
example : https://mangaoi.herokuapp.com/api/ch/god-of-blackfield-chapter-57-bahasa-indonesia/