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

animetrenz-api

v1.1.2

Published

Unofficial - This API will get current top animes in AnimeTrendingz

Downloads

19

Readme

THIS IS AN UNOFFICIAL API FOR ANIMETRENDINGZ

Dont't use for commercial purpose. Thank you!!

Please use the latest version 1.1.x above The other versions are just test.

Targets:

  • You want to get current top like animes, male/female characters, OP/ED Songs.
  • You want also to get specified season top like above.
  • You want to ... (will be expanded api more)

Usage with CommonJS:

const animeTrendingzAPI = require('animetrenz-api').default

animeTrendingzAPI.getCurrentTopAnimes(3, 'asc')
  .then(data => console.log(data))
  .catch(e => console.error(e))

Usage with ESM:

import animeTrendingzAPI from "animetrenz-api"

animeTrendingzAPI.getCurrentTopAnimes(3, 'asc')
  .then(data => console.log(data))
  .catch(e => console.error(e))

Result:

[
  {
    name: 'Mobile Suit Gundam the Witch from Mercury',
    alternativeName: 'Mobile Suit Gundam: Suisei no Majo',
    studio: 'SUNRISE',
    totalVote: 1673,
    timesInTopTenOfASeason: 9,
    images: {
      large: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-FrepbCCWBer2JrfeGgmc_1024?alt=media&token=2b34afb9-58bd-46ca-95a4-dc9623a33aa2',
      full: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-FrepbCCWBer2JrfeGgmc_full?alt=media&token=14977ab1-f107-42db-a402-8c1530668b89',
      medium: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-FrepbCCWBer2JrfeGgmc_256?alt=media&token=169622d1-d1e8-4fcf-9752-e5f68f1668db',
      small: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-FrepbCCWBer2JrfeGgmc_128?alt=media&token=d29dd736-453b-4833-8676-61d89de99c29'
    },
    week: 11,
    season: 'fall',
    currentPosition: 3,
    previousPosition: 1
  },
  {
    name: 'BOCCHI THE ROCK!',
    alternativeName: 'BOCCHI THE ROCK!',
    studio: 'CloverWorks',
    totalVote: 2125,
    timesInTopTenOfASeason: 11,
    images: {
      full: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-vh9SMtX1w9pKk1N7nMyw_full?alt=media&token=84afd71f-9c25-420b-8a1a-e7a99f4adfc2',
      medium: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-vh9SMtX1w9pKk1N7nMyw_256?alt=media&token=bc41d92e-f41b-41f4-bcfc-515ab4e3633f',
      large: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-vh9SMtX1w9pKk1N7nMyw_1024?alt=media&token=5d5d0721-4963-4554-9fd6-197b59227057',
      small: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-vh9SMtX1w9pKk1N7nMyw_128?alt=media&token=4cace04d-4e37-417e-a49b-80e53a1fb348'
    },
    week: 11,
    season: 'fall',
    currentPosition: 2,
    previousPosition: 2
  },
  {
    name: 'Mob Psycho 100 III',
    alternativeName: 'Mob Psycho 100 III',
    studio: 'Bones',
    totalVote: 2419,
    timesInTopTenOfASeason: 11,
    images: {
      full: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-90b7GkjEBMjUvwExPV2A_full?alt=media&token=f8feb1f0-65e3-43d1-a2fa-d0ab0b5b8dbb',
      small: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-90b7GkjEBMjUvwExPV2A_128?alt=media&token=88573749-c409-4aaf-a2c3-e5fac48ace29',
      medium: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-90b7GkjEBMjUvwExPV2A_256?alt=media&token=9c85ccf2-930c-4194-8c95-6930b9294e2e',
      large: 'https://firebasestorage.googleapis.com/v0/b/anitrendz-prod.appspot.com/o/charts%2FxnZOYhYxivim5EjWrOxJ-90b7GkjEBMjUvwExPV2A_1024?alt=media&token=d1775dbe-4c09-4fd0-8690-bccb6c415ef5'
    },
    week: 11,
    season: 'fall',
    currentPosition: 1,
    previousPosition: 3
  }
]

Other Methods:

  • getCurrentTopMales(limitRank = null, sortType = 'asc') => Array
  • getCurrentTopFemales(limitRank = null, sortType = 'asc') => Array
  • getCurrentTopCouples(limitRank = null, sortType = 'asc') => Array
  • getCurrentTopOpeningSongs(limitRank = null, sortType = 'asc') => Array
  • getCurrentTopEndingSongs(limitRank = null, sortType = 'asc') => Array
  • getSpecifiedTopAnimesBasedOnSeason(year, season, week, limitRank = null, sortType = 'asc') => Array

If you like this project, please give me a star. Thank you. :kissing_heart::heart_eyes::heart::blue_heart::cupid: