Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Latest commit

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Samehadaku restAPI

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

All data taken from: Samehadaku
Hi! Check out the frontend I've made: Yamiweb

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

EndpointParamsDescription
/home-Homepage (Current Season)
/anime-List All Anime
/anime/page/${page}pageNumberAnime Pagination
/anime/${id}idDetail Anime
/ongoing-List All Ongoing Anime
/ongoing/page/${page}pageNumberOngoing Pagination
/movie-List All Anime Movie
/movie/page/${page}pageNumberAnime Movie Pagination
/genres-List All Genre
/genres/${id}idShow Anime by Genre
/genres/${id}/page/${page}id,pageNumber~~ Anime by Genre With Pagination
/batch-List All Anime Batch
/batch/page/${page}pageNumberBatch Pagination
/batch/${id}idDetail Anime Batch
/eps/${id}id~~ Anime Episode
/schedule-Schedule Anime
/studio/${id}idShow Anime by Studio
/studio/${id}/page/${page}id,pageNumber~~ Anime by Studio With Pagination
/producer/${id}idShow 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}querySearch 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)

About

Unofficial restAPI Samehadaku (Unmaintaned). Alt see: notneet/nime-crawler

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Packages

Contributors

Languages