Skip to content

Latest commit

 

History

History
94 lines (81 loc) · 2.89 KB

README.md

File metadata and controls

94 lines (81 loc) · 2.89 KB

Komiindo-manga-api

This repository is an implementation of a RESTful API for manga using Mongoose, MongoDB, and Express technology. The manga data is stored in a MongoDB database and accessed through Mongoose as an ORM (Object Relational Mapper). Then, the API is built using Express as a Node.js framework that allows for the fast and easy creation of web applications. This repository is ideal for developers looking to create a manga application or to learn how to build a RESTful API using MongoDB, Mongoose, and Express technology.

I use my own data mining tool for the source data

API Reference

Visit this endpoint to test the api

  • Get Komik List

  GET /komik-list?Parameter1=value&parameter2=value...
Parameter Type Description
q string title (any string)
type string Manga, Manhwa, Manhua, or Top
warna string true or false (but string)
sort string score
alphabet string az or za
limit integer (any number)

response:

[{
    _id: String,
    title: String,
    thumb: String,
    score: Number,
    warna: Boolean,
    type: String,
    endpoint: String
}]
  • Get Komik Detail

  GET /komik-detail/${endpoint}

or

  GET /komik-detail?Parameter1=value&parameter2=value...
Parameter Type Description
endpoint string endpoint e.g: tokyo-ghoul

or

Parameter Type Description
q string title (any string)
type string Manga, Manhwa, Manhua, or Top
genre string if genre more than one use , as a spliter eg: Romance,Drama
sort string score
alphabet string az or za
limit integer (any number)

response:

[{
  _id: String,
  title: String,
  endpoint: String,
  thumb: String,
  score: String,
  scoredBy: String,
  relative: [{ title_ref: String, link_ref: String }],
  info: [{ 
    Status:  String, 
    Pengarang:  String, 
    Ilustrator:  String, 
    Grafis:  String, 
    Tema:  String, 
    Konten: String, 
    Official: String, 
    Jenis Komik:  String, 
    Retail:  String, 
    Informasi:  String 
    }],
  genre: [{ genre_title: String, genre_ref: String }],
  teaser: [{ teaser_image: String }],
  similar: [{ 
    similar_image: String, 
    similar_title: String, 
    similar_endpoint: String, 
    similar_desc: String 
    }]
}]