Skip to content

Commit

Permalink
added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
febryardiansyah authored Jul 26, 2020
1 parent a812acb commit f2c9b71
Showing 1 changed file with 57 additions and 18 deletions.
75 changes: 57 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,67 @@ Restful API Manga bahasa Indonesia built with ❤️ and node.js
4. visit http://localhost:3000/api
# Documentation
__API__ __PATH__ = http://localhost:3000/api
__ApI__ Version = `v1.0`
__API__ __PATH__ = https://mangamint.glitch.me/api/
</br>__ApI__ Version = `v1.0`
## Get All Manga
## All Manga
Get Latest Manga Update
```
/manga/page/[pagenumber]
```
example : https://mangamint.glitch.me/api/manga/page/1
## Popular Manga
Get Popular Manga
```
/manga/popular/[pageNumber]
```
example : https://mangamint.glitch.me/api/manga/popular/1
## Detail Manga
```
/manga/detail/[endpoint]
```
example : https://mangamint.glitch.me/api/manga/detail/after-transformation-mine-and-her-wild-fantasy/
## Search Manga by Name
```
/cari/[query]
```
example : https://mangamint.glitch.me/api/cari/komi%20san
## Genre List
```
/genres
```
example : https://mangamint.glitch.me/api/genres
## Genre Detail
```
/genres/[endpoint]/[pagenumber]
```
example : https://mangamint.glitch.me/api/genres/action/1
## Recomended Manga
```
/recomended
```
example : https://mangamint.glitch.me/api/recomended
## Manhua List (Chinese Comic)
```
/manhua/[pageNumber]
```
example : https://mangamint.glitch.me/api/manhua/1
```bash
/manga/page/[pageNumber]
## Manhwa List (Korean Comic)
```
/manhwa/[pageNumber]
```
example : https://mangamint.glitch.me/api/manhua/1
Returns
## Chapter
```
bash
{
manga_list: [
{
title: "My Wife is a Demon Queen ",
thumb: "https://i0.wp.com/komiku.co.id/wp-content/uploads/Manhua-My-Wife-is-a-Demon-Queen.jpg?resize=450,235&quality=60",
type: "Manhua",
updated_on: "2 jam lalu Berwarna",
endpoint: "my-wife-is-a-demon-queen/",
chapter: "Chapter 212"
},
]
/chapter/[chapterEndpoint]
```
example : https://mangamint.glitch.me/api/chapter/after-transformation-mine-and-her-wild-fantasy-chapter-70-bahasa-indonesia/

0 comments on commit f2c9b71

Please sign in to comment.