Giter Club home page Giter Club logo

samehadaku's Introduction

Samehadaku restAPI

This rest api is unofficial. So I am not responsible if there is incomplete/broken data.

All data taken from: Samehadaku

TODO

  • Home (Anime This Season)
  • Ongoing
    • Pagination
  • Schedule
  • Genre
    • Anime By Genre With Pagination
  • Anime
    • Pagination
    • Detail
    • Batch
    • Episode List
  • Anime Movie
    • Detail
    • Episode List
  • Batch
    • Detail
    • Download Link
  • Detail Episode
    • Pagination Per Episode
    • Streaming Link
    • Download Episode & Batch Link
  • Season
    • Anime By Season With Pagination
  • Studio
    • Anime By Studio With Pagination
  • Producer
    • Anime By Producer With Pagination
  • Search
  • Refactor Code Anime & Batch Detail Functions (If it is possible)
  • Handle If host site is error/down

Usage

  1. Clone this repository
mkdir -p ~/Documents/git && git clone --depth=1 https://github.com/Hanivan/restAPI-Samehadaku.git ~/Documents/git/restAPI-Samehadaku && cd ~/Documents/git/restAPI-Samehadaku
  1. Install packages (use yarn or npm)
yarn install
  1. Start server
yarn start

or

yarn dev (for development)

API Documentation

API Path: https://samehadaku-api.herokuapp.com/api
API Version: v1

Endpoint Params Description
/home - Homepage (Current Season)
/anime - List All Anime
/anime/page/${page} pageNumber Anime Pagination
/anime/${id} id Detail Anime
/ongoing - List All Ongoing Anime
/ongoing/page/${page} pageNumber Ongoing Pagination
/movie - List All Anime Movie
/movie/page/${page} pageNumber Anime Movie Pagination
/genres - List All Genre
/genres/${id} id Show Anime by Genre
/genres/${id}/page/${page} id,pageNumber ~~ Anime by Genre With Pagination
/batch - List All Anime Batch
/batch/page/${page} pageNumber Batch Pagination
/batch/${id} id Detail Anime Batch
/eps/${id} id ~~ Anime Episode
/schedule - Schedule Anime
/studio/${id} id Show Anime by Studio
/studio/${id}/page/${page} id,pageNumber ~~ Anime by Studio With Pagination
/producer/${id} id Show Anime by Producer
/producer/${id}/page/${page} id,pageNumber ~~ Anime by Producer With Pagination
/season/${id} id ~~ Anime by Season
/season/${id}/page/${page} id,pageNumber ~~ Anime by Season With Pagination
/search/${query} query Search Anime

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Development Details

Start Work: Sunday, 16 January 2022; 16:-- WIB
Finished Work: Thursday, 27 January 2022; 15:-- WIB

Absence: Monday, 24 January 2022
Reason: Learn GoLang

Thank you Kaede-No-Ki/otakudesu-rest-api for the inspiration to make this app

Tools I used for making this application:

  • node-fetch & cheerio (Web Scrapper). Tutorial
  • express
  • mathjs
  • dotenv
  • cors
  • Zippy-DL (For Bypass Stream Link With Some Modification)

samehadaku's People

Contributors

fajarrid avatar

Watchers

 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.