Giter Club home page Giter Club logo

thenextmanga-front's Introduction

Anime Suggestion

API

GET /animes/name/:query

Send a list of animes with "like" operator on the query

{
    "anime": [
        {
            "_id": "59de144667a1add2cf6cac6a",
            "h": 359554,
            "c": [
                "Action",
                "Adventure",
                "Comedy",
                "Drama",
                "Fantasy",
                "Shounen"
            ],
            "im": "a6/a6cb9ecfe372e142bf15a33aaa7bd37fcf907ec5a01c3ccd230ad53b.jpg",
            "t": "Boruto: Naruto Next Generations"
        },
        {
            "_id": "59de144667a1add2cf6cac88",
            "h": 78,
            "c": [
                "Doujinshi",
                "Slice of Life"
            ],
            "im": "45/45883d4bf3841fcaf8161044618a7965de22d7536daf15afe193c7db.png",
            "t": "Naruto dj - Sazanka"
        },
        {
            "_id": "59de144767a1add2cf6cc0fe",
            "h": 763856,
            "c": [
                "Action",
                "Adventure",
                "Comedy",
                "Drama",
                "Fantasy",
                "Shounen"
            ],
            "im": "49/490fbf6f1d153e0d80130e7a1cb8ddc9cd5e6462a8d9b52858e0ef75.jpg",
            "t": "Naruto Gaiden"
        }
        
        [...............]
    ]
}

GET /animes/:id

Send a unique anime

{
    "anime": {
        "_id": "59de144667a1add2cf6cab9e",
        "h": 1196,
        "c": [
            "Action",
            "Adventure",
            "Drama",
            "Sci-fi",
            "Supernatural"
        ],
        "im": "ad/ad8dbe2c909de99899f1015a360f75e3ced31023672d6ff0d2b7547c.jpg",
        "t": "Flower Dream"
    }
}

GET /animes/suggestion/:id

Take an anime id parameter, return anime suggestions, 10 result max, order by hit

"animes": [
        {
            "_id": "59de144867a1add2cf6d03fa",
            "h": 60843693,
            "c": [
                "Action",
                "Comedy",
                "Drama",
                "Shounen",
                "Slice of Life",
                "Sports"
            ],
            "im": "6f/6f0b95cb7d04cf4a594e53bd043e4058c328e3d4e32708a45d9e73f4.jpg",
            "t": "Hajime no Ippo",
            "i": "4e70ea14c092255ef7004be8",
            "c_common": [
                "Comedy",
                "Shounen",
                "Slice of Life",
                "Sports"
            ]
        },
        [...]

todo: aggregation with mongoose + $match

http://www.mangaeden.com/api/manga/:id-api description-artist-author-chapters_len

thenextmanga-front's People

Contributors

dayze avatar jeremy-habit avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.