npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

asa-api

v0.0.10

Published

An API to scrap information from anime websites

Downloads

3

Readme

asa GitHub package.json version npm NPM GitHub commit activity GitHub last commit GitHub issues GitHub Hits

ASA (Anime Scraper API) is an API to scrap information from anime websites. This was made for another project, but now is entirely separated. However, is not meant to use in production. It was made just for fun.

THIS IS UNDER HEAVY DEVELOPMENT, DON'T USE THIS IN PRODUCTION

This means that breaking changes will be made, and you'll probably need to change stuff.


Features

  • [x] Retrieve any relevant information, like anime name, episodes, and streaming services.
  • [x] Support for multiple sites.
  • [x] Fast responses thanks to cheerio.

Installation

npm install asa-api --save

Examples

List all available sources and functions

const asa = require('asa-api');
console.log(asa.availableSources());

Search for anime and get results

const asa = require('asa-api');
asa.getAnime("animeflv", "86")
    .then(res => console.log(res));

/*
[
  {
    title: '86 - Eighty Six',
    url: 'https://ww3.animeflv.cc/anime/86-eighty-six',
    img: 'https://img.animeflv.cc/cover/86-eighty-six.jpg'
  },
  {
    title: '86 2nd Season',
    url: 'https://ww3.animeflv.cc/anime/86-2nd-season',
    img: 'https://img.animeflv.cc/cover/86-2nd-season.jpg'
  }
]
*/

Get anime episodes

const asa = require('asa-api');
asa.getAnime("monoschinos2", "serial experiments").then(res => {
    asa.getEpisodes("monoschinos2", res[0].url).then(res => {
        console.log(res)
    });
});

/*
  {
    url: 'https://monoschinos2.com/ver/serial-experiments-lain-latino-episodio-1'
  },
  {
    url: 'https://monoschinos2.com/ver/serial-experiments-lain-latino-episodio-2'
  }, ...
*/

Get streaming services from episode

const asa = require('asa-api');
asa.getAnime("animeflv", "serial experiments").then(res => {
    asa.getEpisodes("animeflv", res[0].url).then(res => {
        asa.getStreaming("animeflv", res[0].url).then(res => {
            console.log(res)
        });
    });
});
/*
  {
    servicename: 'Streamsb',
    url: 'https://sbplay2.xyz/e/yp7u8ih6k9fn'
  },
  {
    servicename: 'Xstreamcdn',
    url: 'https://fembed-hd.com/v/mzvk6w8k1oq'
  }, ...
*/

Sites supported

Español 🇪🇸

| Name | URL | Status | Notes | | ------------- | ------------- | ------------- | ------------- | | MonosChinos | https://monoschinos2.com/ | ✔ Working | Limited to 31 results per request. You can't retrieve streaming services (at least not right now). | | AnimeFLV | https://ww3.animeflv.cc/ | ✔ Working | There's another URL for this site: https://www3.animeflv.net/. I'm not sure if the one used right now is official, but it's the only one I got working. | | JKAnime | https://jkanime.net/ | 🔘 Planned | | | VerAnime.org | https://www.veranime.org/ | 🔘 Planned | |

English 🇬🇧

| Name | URL | Status | Notes | | ------------- | ------------- | ------------- | ------------- | | Animebee.to | https://animebee.to/ | 🔘 Planned | | | Zoro.to | https://zoro.to/ | 🔘 Planned | |

If you would like to request me to add a new language, feel free to open an issue.