Manga List
Endpoint: /api/mangaList
The /api/mangaList
endpoint provides a list of manga with associated metadata. Follow the steps below to make a request and understand the response.
Simple Fetch
Use your preferred API testing tool (e.g., Postman, Insomnia) or any HTTP client library to make a GET request to the following endpoint:
- Method: GET
- Endpoint:
http://localhost:3000/api/mangaList
Example
Response
Explore Pagination (Optional)
Query Parameter: page
- To fetch a specific page, use the
page
query parameter. - Example:
http://localhost:3000/api/mangaList?page=2
Example
Filter by Manga Category (Optional)
Query Parameter: category
- Filter manga by category using the
category
query parameter. - Possible values:
all
,Action
,Adventure
,Comedy
,Cooking
,Doujinshi
,Drama
, and more. - Example:
http://localhost:3000/api/mangaList?category=Action
Example
Filter by Manga Type (Optional)
Query Parameter: type
- Filter manga by type using the
type
query parameter. - Possible values:
newest
,latest
,topview
. - Example:
http://localhost:3000/api/mangaList?type=newest
Example
Filter by Manga State (Optional)
Query Parameter: state
- Filter manga by state (status) using the
state
query parameter. - Possible values:
all
,Completed
,Ongoing
,drop
,unknown
. - Example:
http://localhost:3000/api/mangaList?state=Ongoing
Example
Review Response
The API responds with a JSON object containing a mangaList
array and metaData
. Inspect the structure and data to understand the manga entries and associated metadata.
Response Structure
Explore and Integrate
Now that you’ve successfully fetched manga data, explore the various filtering options provided by the /api/mangaList
endpoint to tailor the manga list to your specific requirements. Integrate this data into your applications and enjoy the world of manga at your fingertips!