1.0.1 • Published 10 years ago
anicollage v1.0.1
anicollage
Get a collage of your anime
Install
$ npm install --save anicollageThis 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 linkAPI
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