# aniwrapper

> api wrapper for anilist

Latest version **1.0.2** (published 2019-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install aniwrapper
pnpm add aniwrapper
yarn add aniwrapper
bun add aniwrapper
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-05-25 |
| First published | 2018-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=7.1.0 |
| Dependencies | 2 |
| Unpacked size | 223.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nicolas Botello |
| Maintainers | bote795 |
| Keywords | anilist, api, graphql, v2 |

## Links

- npm: https://www.npmjs.com/package/aniwrapper
- Repository: https://github.com/bote795/AniWrapper
- Homepage: https://github.com/bote795/AniWrapper#readme
- Issues: https://github.com/bote795/AniWrapper/issues
- npm.io page: https://npm.io/package/aniwrapper

## Dependencies (2)

- [jwt-decode](https://npm.io/package/jwt-decode.md) 2.2.0
- [graphql-request](https://npm.io/package/graphql-request.md) 1.8.2

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2019-05-25
- 1.0.1 — 2018-07-02
- 1.0.0 — 2018-06-21

## README

[![CircleCI](https://circleci.com/gh/bote795/AniWrapper.svg?style=shield&circle-token=ce2f33360f50fe15289d265ebcbdf06f32f21360)](https://circleci.com/gh/bote795/AniWrapper)
[![dependencies Status](https://david-dm.org/bote795/AniWrapper/status.svg)](https://david-dm.org/bote795/AniWrapper)
[![devDependencies Status](https://david-dm.org/bote795/AniWrapper/dev-status.svg)](https://david-dm.org/bote795/AniWrapper?type=dev)
[![Coverage Status](https://coveralls.io/repos/github/bote795/AniWrapper/badge.svg?branch=master)](https://coveralls.io/github/bote795/AniWrapper?branch=master)
[![npm version](https://badge.fury.io/js/aniwrapper.svg)](https://badge.fury.io/js/aniwrapper)
[![downloads](https://img.shields.io/npm/dt/aniwrapper.svg)](https://img.shields.io/npm/dt/aniwrapper.svg)
# AniWrapper

Api Wrapper for AniList   
[Anilist API Documentation](https://anilist.gitbooks.io/anilist-apiv2-docs/)

## Install
 ```sh
yarn add aniwrapper
npm install --save aniwrapper
```


### Get Token
To retrieve a token you can go to the following and paste your token     
[GetToken](https://anilist.co/api/v2/oauth/authorize?client_id=673&response_type=token)    
You can also retrieve a token setting up your own anilist app   
<b>make sure not to expose your token to a github repo or post it online</b>

## Basic Usage
```js
import Anilist from 'aniwrapper'             // ES Modules and Babel
const Anilist = require('aniwrapper')        // CommonJS and Browserify
const Anilist = require('aniwrapper/node')   // node-only package
```
## Quick Start
```js
//node
const Anilist = require('aniwrapper/node');
const aniClient = new Anilist(token);
aniClient
  .getUserList()
  .then((result) => console.log(result));
```
## [Documentation](http://nicolasbotello.com/AniWrapper/)

---
_Source: https://npm.io/package/aniwrapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
