Skip to content
/ api Public

a basic anime scraping api made in nodejs | inspired by gogoanime api

License

Notifications You must be signed in to change notification settings

Anispace/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the api does not work anymore and we do not have any motivation/intention to maintain it any further

Anime API by Anispace

Base URL: https://api.anispace.workers.dev/

API Routes

Route Description Parameter Description
/home Get trending anime from AniList and popular anime from GogoAnime None
/search/{query} Search for anime by name {query}: Anime name to search
/anime/{id} Get details of a specific anime {id}: GogoAnime anime ID
/episode/{id} Get episode stream URLs {id}: GogoAnime episode ID
/download/{id} Get episode download URLs {id}: GogoAnime episode ID
/recent/{page} Get recent anime from GogoAnime {page}: Page number (1, 2, 3, ...)
/recommendations/{query} Get recommendations of anime from AniList {query}: Anime name for recommendations
/gogoPopular/{page} Get popular animes from GogoAnime {page}: Page number (1, 2, 3, ...)
/upcoming/{page} Get upcoming animes from AniList {page}: Page number (1, 2, 3, ...)

Deploy Your Own Copy of the API

  1. Install Node.js
  2. Install and configure Wrangler in the directory
    • npm install wrangler
    • npx wrangler login
  3. Run the following commands
    • npm install --save npm install cheerio
    • npm install --save npm install crypto-js
  4. Deploy to Cloudflare Workers
    • npx wrangler publish