anicollagedeprecated

Get a collage of your anime

Usage no npm install needed!

<script type="module">
  import anicollage from 'https://cdn.skypack.dev/anicollage';
</script>

README

anicollage

Get a collage of your anime

Install

$ npm install --save anicollage

This module depends in imagemagick! Make sure it's installed in your system.

Usage

var anicollage = require('anicollage');

anicollage({username: 'matachines', collageSize: '2x2', dataType: 'recent'});
//=> imgur link

API

anicollage(username, collageSize, dataType)

Generates a collage image based on the given options and uploads it to imgur, returning a promise with the imgur link.

username

Type: string

Your Anilist username.

collageSize

Type: string

The size of the collage you want: 2x2, 3x3, 4x1, 1x4.

dataType

Type: string

The type of data you want to generate a collage from: recent for recently watched anime, highest for your highest rated anime.

License

MIT © Juan Soto