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

@tdanks2000/anilist-wrapper

v1.1.2

Published

A wrapper for the Anilist graphQL api

Downloads

67

Readme

The AniList Api Wrapper simplifies the process of making API requests to AniList, a popular anime and manga database. It encapsulates functionality related to various API endpoints, such as activity, lists, media, people, recommendations, search, threads, and user-related features. With this wrapper, developers can quickly integrate AniList functionality into their TypeScript projects.

Table of Contents

Installation

To install the AniList TypeScript Wrapper, follow these steps:

  1. Run the following command in your project directory:
// npm
npm install @tdanks2000/anilist-wrapper
// yarn
yarn add @tdanks2000/anilist-wrapper
// pnpm
pnpm i @tdanks2000/anilist-wrapper

Usage

To use the AniList TypeScript Wrapper in your TypeScript project, import the necessary classes and functions:

import { Anilist } from '@tdanks2000/anilist-wrapper';

Then, create an instance of the AniList class, optionally providing an access token:

const anilist = new Anilist('YOUR_ACCESS_TOKEN');

You can now use the anilist object to access various functionalities of the AniList API. See the next section for details on available functionality.

Authentication

Authentication is required to access certain endpoints and perform actions on behalf of a user. To authenticate with the AniList API, you need to obtain an access token. Visit the AniList website and follow their documentation to generate an access token. When creating an instance of the AniList class, you can provide the access token as a parameter to enable authenticated access to specific features.

Functionality

The AniList Api Wrapper provides the following functionality:

  • activity: Access and interact with user activity-related features.
  • lists: Retrieve and manage user lists, such as anime and manga lists.
  • media: Retrieve media-related information, including anime, manga, characters, and staff.
  • people: Access information about people involved in media, such as voice actors and staff members.
  • recommendation: Retrieve and manage recommendations for anime and manga.
  • search: Search for media, characters, and users on AniList.
  • thread: Interact with AniList forum threads and comments.
  • user: Access and manage user-related information and actions.

Contributing

Contributions to the AniList TypeScript Wrapper are welcome! If you find a bug, have a feature suggestion, or want to contribute improvements, please follow the contribution guidelines outlined in the repository.

License

The AniList TypeScript Wrapper is licensed under the MIT License. Make sure to review the license file for detailed terms and conditions.

Feel free to use, modify, and distribute this library as per the license terms.

Thank you for using the AniList Api Wrapper! If you have any questions or need further assistance, please contact the project team or refer to the documentation available in the repository.

❤️

Reminder that you are great, you are enough, and your presence is valued. If you are struggling with your mental health, please reach out to someone you love and consult a professional. You are not alone.