All Projects → JustalK → ANIME-API

JustalK / ANIME-API

Licence: MIT License
Api for searching page link, download link, streaming link of an anime and a precise episode on many website simultaneously. Only one search and you got the results from all animes websites.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ANIME-API

AniAPI
Core behind AniAPI HTTP Rest APIs.
Stars: ✭ 144 (+289.19%)
Mutual labels:  anime, anime-api
KGrabber
Userscript for extracting links from kissanime.ru and similar sites.
Stars: ✭ 29 (-21.62%)
Mutual labels:  anime, episode
aniep
Extract episode number from anime file name
Stars: ✭ 21 (-43.24%)
Mutual labels:  anime, episode
Crunchy
A Crunchyroll Inspired Discord bot, Made with <3
Stars: ✭ 13 (-64.86%)
Mutual labels:  anime
holo
Episode discussion bot for /r/anime.
Stars: ✭ 84 (+127.03%)
Mutual labels:  anime
madomagiOOP
👨‍💻♐ OOP learning with anime magical girl. (魔法少女で学ぶオブジェクト指向)🧙
Stars: ✭ 17 (-54.05%)
Mutual labels:  anime
anikimiapi
A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime.
Stars: ✭ 15 (-59.46%)
Mutual labels:  anime
BGmi
BGmi is a cli tool with Web UI for subscribed bangumi.
Stars: ✭ 465 (+1156.76%)
Mutual labels:  anime
moe.TV
watch bangumi on your tvOS
Stars: ✭ 25 (-32.43%)
Mutual labels:  anime
Anime-New-Tab
Collection of random anime theme wallpaper, bangumi list (bilibili) and other features of the Chrome new tab page plugin(动漫主题随机壁纸Chrome新标签页插件)
Stars: ✭ 18 (-51.35%)
Mutual labels:  anime
kitsu-season-trends
🦊 Kitsu seasonal anime trends
Stars: ✭ 13 (-64.86%)
Mutual labels:  anime
Anime-Girls-Holding-Programming-Books
Anime Girls Holding Programming Books
Stars: ✭ 12,643 (+34070.27%)
Mutual labels:  anime
Ritsu
A Discord Bot based on the AnimeMusicQuiz (AMQ) game, play using your MAL/Anilist animelist and with different game modes! ✨
Stars: ✭ 24 (-35.14%)
Mutual labels:  anime
Deep learning Coloring-Anime-image-and-satellite-image-house-damge-level-colorized
No description or website provided.
Stars: ✭ 16 (-56.76%)
Mutual labels:  anime
thehylia
A script for The Hylia mass downloads. Get anime soundtracks quickly and easily! Also a Python interface.
Stars: ✭ 70 (+89.19%)
Mutual labels:  anime
OpenCV-Anime-Face-Detector
Using OpenCV to detect and mark face and eye features in videos and images. Anime and manga faces are also detected.
Stars: ✭ 20 (-45.95%)
Mutual labels:  anime
tanuki
🦊 Anime weekly schedule for Kitsu
Stars: ✭ 26 (-29.73%)
Mutual labels:  anime
OkanimeDownloader
Scrape your favorite Anime from Okanime.com without effort
Stars: ✭ 13 (-64.86%)
Mutual labels:  anime
anime2clothing
Pytorch official implementation of Anime to Real Clothing: Cosplay Costume Generation via Image-to-Image Translation.
Stars: ✭ 65 (+75.68%)
Mutual labels:  anime
pyanime4k
An easy way to use anime4k in python
Stars: ✭ 80 (+116.22%)
Mutual labels:  anime

Alt text

Last version npm Last version Node version Travis Coverage Status Dependency status Last version XO code style

Star the project

Are you not tired of searching where you can watch or download your favorite animes ? To search on hundred of website until you find what you are looking for ? If yes, this API is for you. This API is a powerful scraper of many streaming and downloading website. With this API, you can search a page about your favorite anime or search for a download link or streaming link for enjoying your favorite animes.

npm install @justalk/anime-api

Short Example

If you want to search for a streaming link of the episode 387 of naruto shippuden

const animeapi = require('@justalk/anime-api');
const download = await animeapi.download('naruto shippuden', 387);

Features

  • Get page links: Get the page links of the anime on many website by searching an anime by name

  • Get streaming links: Get the streaming link of an episode of an anime by anime name

  • Get download links: Get the direct download link of an episode of an anime by anime name

API

Search page link by anime name

async links(search, options)
More informations (click to show)
name type description
search String name of the anime searched
options Object (optionnal) List of the options
Lists of optionnal options available for page links
name of key return type description
limit_per_website Number Limit the number of result per website
limit Number Limit the number of total result
website String Website that you wanna target, see under for the complete list
Format response of links
name of key return type description
source String Name of the source
title String Complete title of the anime on the website
link String Link of the anime
levenshtein Number Difference of character from the search

The result is order by levenshtein. The first result will be the closest from your research.

Search streaming links by anime name

async stream(search, episode, options)
More informations (click to show)
name type description
search String name of the anime searched
episode Number number of the episode searched
options Object (optionnal) List of the options
Lists of optionnal options available for stream links
name of key return type description
limit_per_website Number Limit the number of result per website
Format response of stream
name of key return type description
source String Name of the source
link String Link of the stream

Only one result by source will be provided.

Search downloading links by anime name

async download(search, episode, options)
More informations (click to show)
name type description
search String name of the anime searched
episode Number number of the episode searched
options Object (optionnal) List of the options
Lists of optionnal options available for download links
name of key return type description
limit_per_website Number Limit the number of result per website
Format response of download
name of key return type description
source String Name of the source
link String Link of the download

Only one result by source will be provided.

List of website available

The list below show the website scraped by the API and the website available for the option website

website variable website url
ANIMELAND https://www.animeland.us/
CHIA-ANIME http://www.chia-anime.me/
ANIMEOUT https://www.animeout.xyz/
GOGOANIME https://www3.gogoanime.pro/
ANIMEFREAK https://www.animefreak.tv/
ANIME8 https://anime8.ru/
9ANIME http://9anime.to/
ANIMEDAISUKI https://animedaisuki.moe/

The list is increasing slowly. I am working on it.

Examples

Searching page link of naruto shippuden (click to show)
const animeapi = require('@latsuj/anime-api');
const results = await animeapi.links('Naruto shippuden');
results = [{
    source: 'ANIMELAND',
    title: 'Naruto Shippuden',
    link: 'https://www.animeland.us/dub/naruto-shippuden',
    levenshtein: 2
  },
  {
    source: 'CHIA-ANIME',
    title: 'Naruto Shippuden',
    link: 'http://www.chia-anime.me/episode/naruto%e3%83%8a%e3%83%ab%e3%83%88%e7%96%be%e9%a2%a8%e4%bc%9danime/',
    levenshtein: 7
  },
  {
    source: 'ANIMEOUT',
    title: 'Naruto Shippuden Movie 7 The Last',
    link: 'https://www.animeout.xyz/dub/naruto-shippuden-movie-7-the-last',
    levenshtein: 19
}]
Searching stream link of naruto shippuden (click to show)
const animeapi = require('@justalk/anime-api');
const stream = await animeapi.stream('naruto shippuden', 387);
results = [{
    source: 'ANIMELAND',
    link: 'https://www.animeland.us/naruto-shippuden-episode-500-english-dubbed'
  },
  {
    source: 'CHIA-ANIME',
    link: 'http://www.chia-anime.me/naruto-shippuden-episode-500-english-subbed/'
}]
Searching download link of naruto shippuden episode 387 with options (click to show)
const animeapi = require('@justalk/anime-api');
const download = await animeapi.download('naruto shippuden', 387, {website: 'CHIA-ANIME'});
results = [{
  {
    source: 'CHIA-ANIME',
    link: 'http://www.chia-anime.me/naruto-shippuuden-episode-387-english-subbed/'
}]

How to contribute/test

For testing, install the node project and run the test command.

node install
npm test

Also, you can use the command under for running the test without the linter

npm run test-no

The API has two kind of tests.

  1. dynamic : Perform query on the real Website.
  2. static : Run the API through website mock, allowing the tests to be more precise.

I am also using winston for filling up logs.

License

MIT - Copyright © JUSTAL Kevin

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].