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

monoschinos-api

v1.2.1

Published

Un web-scrapper cuya función es obtener información del sitio conocido como MonosChinos.

Downloads

8

Readme

MonosChinos SCRAPPER Licence Version Known Vulnerabilities

NPM

Librería Node.js para obtener información del sitio https://monoschinos2.com/ utilizando el método de Web-Scraping.

Instalación

npm install monoschinos-api

Uso

Una vez el paquete está instalado, puedes importar la librería utilizando "require":

const monoschinos = require('monoschinos-api');

o utilizando "import":

import * as monoschinos from 'monoschinos-api';

Funciones

searchAnime(params)

|Params|Type| |-|-| |query|string|

import { searchAnime } from 'monoschinos-api';

searchAnime("Black Clover").then((result) => {
  console.log(result);
});
Respuesta

Una lista JSON que contiene todos los animes encontrados utilizando el query especificado.

[
  {
    title: 'Squishy! Black Clover',
    type: 'Corto',
    year: 2019,
    cover: 'https://monoschinos2.com/thumbs/imagen/squishy-black-clover.png?v=1.5',
    url: 'https://monoschinos2.com/anime/squishy-black-clover-sub-espanol'
  }
  ...
]

getAnimeInfo(params)

|Params|Type| |-|-| |animeId|string|

Note el animeId es obtenido a través de la función searchAnime o removiendo https://monoschinos2.com/anime/ de la URL de un anime.

import { getAnimeInfo } from 'monoschinos-api';

getAnimeInfo("chainsaw-man").then((result) => {
  console.log(result);
});
Respuesta

Un objeto JSON que contiene la información del anime solicitado con el animeId especificado.

{
  title: 'Chainsaw Man',
  alternative_title: 'El pibe motosierra',
  status: 'Finalizado',
  cover: 'https://monoschinos2.com/assets/img/serie/portada/chainsaw-man-1663804720.jpg',
  synopsis: 'Denji tiene un sueño simple: vivir una vida feliz y pacífica, pasando...',
  genres: [ 'Acción', 'Aventura', 'Shonen' ],
  episodes: 12,
  url: 'https://monoschinos2.com/anime/chainsaw-man'
}

getLatest()

import { getLatest } from 'monoschinos-api';

getLatest().then((result) => {
  console.log(result);
});
Respuesta

Una lista JSON que contiene los últimos capítulos subidos al sitio web.

[
  {
    title: 'Kage no Jitsuryokusha ni Naritakute! 1080p',
    chapter: 16,
    type: 'Anime',
    cover: 'https://monoschinos2.com/thumbs/portada/kage-no-jitsuryokusha-ni-naritakute-1080p-1671334662.jpg?v=1.5',
    url: 'https://monoschinos2.com/ver/kage-no-jitsuryokusha-ni-naritakute-1080p-episodio-16'
  }
  ...
]

getOnAir()

import { getOnAir } from 'monoschinos-api';

getOnAir().then((result) => {
  console.log(result);
});
Respuesta

Una lista JSON con todos los animes en emisión del sitio.

[
  {
    title: 'Majutsushi Orphen Hagure Tabi: Urbanrama-hen',
    type: 'Anime',
    year: 2023,
    cover: 'https://monoschinos2.com/thumbs/imagen/majutsushi-orphen-hagure-tabi-urbanrama-hen-1674048045.jpg?v=1.5',
    url: 'https://monoschinos2.com/anime/majutsushi-orphen-hagure-tabi-urbanrama-hen-sub-espanol'
  }
  ...
]

getCalendar()

import { getCalendar } from 'monoschinos-api';

getCalendar().then((result) => {
  console.log(result);
});
Respuesta

Una lista JSON con la programación semanal.

[
  {
    day: 'Lunes',
    animes: [
        {
          title: 'Cool Doji Danshi',
          chapter: 15,
          synopsis: 'Son chicos guapos que son geniales pero un poco difíciles...',
          cover: 'https://monoschinos2.com/thumbs/imagen/cool-doji-danshi-1663796951.jpg?v=1.5',
          genres: [ 'Comedia' ]
        }
        ...
    ]
  }
  ...
]

TODO

  • [ ] Modificar las funciones en caso de existir una paginación en el sitio web.

Contribuyentes