Skip to content

shimizudev/anicrush-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anicrush Scraper API

An API to fetch data from Anicrush.to

Features

  • Get trending anime
  • Get top airing anime
  • Get anime info
  • Get anime characters
  • Get anime episodes
  • Get anime episode sources
  • Get anime search results
  • Get complete mapping with everything needed.
  • Fully functional and ready to use.
  • Reliable and fast.
  • Cached
  • Very less rate limit.

Requirements

  • Bun 1.2.x
  • Node.js 20.x

Installation

Clone the repository

git clone https://github.com/shimizudev/anicrush-api.git

Install dependencies

bun install

Run the server

bun run start

Usage

This thing is API based.

Routes

Get trending anime

GET /api/v1/scraper/trending

Parameters:

  • page (optional): The page number to fetch. Default is 1.
  • limit (optional): The number of results to fetch. Default is 20.

Get top airing anime

GET /api/v1/scraper/top-airing

Parameters:

  • page (optional): The page number to fetch. Default is 1.
  • limit (optional): The number of results to fetch. Default is 20.

Get anime info

GET /api/v1/scraper/anime/:id

Parameters:

  • id: The ID of the anime to fetch.

Get anime characters

GET /api/v1/scraper/characters/:id

Parameters:

  • id: The ID of the anime to fetch.

Get anime episodes

GET /api/v1/scraper/episodes/:id

Parameters:

  • id: The ID of the anime to fetch.

Get anime search results

GET /api/v1/scraper/search/:query

Parameters:

  • query: The query to search for.

Contributing

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

Please make sure to update tests as appropriate.

License

MIT

Contact

ShimizuDev