Wolke API
An API that provides anime pictures or GIFs for fun and lewdness. Wrapper created using promises and axios.
Instalation
npm install wolke-api
Usage
var WolkeHelper = ;var WolkeApi = version: 1 //current API versions are 1 and 2nsfw: false //a boolean for NSFW switching; //the constructor arguments are optional
Functions
types() Availability: v1, v2 Parameters: None Output: an array of picture types you can use for requesting
WolkeApi
tags() Availability: v2 Parameters: None Output: an array of picture tags you can use for requesting
WolkeApitags
pictureInfo(id) Availability: v1, v2 Parameters: Picture ID Output: if v1, the link of the picture and status boolean. if v2, detailed information. both in JSON format.
WolkeApi
picture(type, tags) Availability: v1, v2 Parameters: Type (v1 and v2), tags (only v2, must be array) Output: if v1, the link of the picture. if v2, detailed information. both in JSON format.
WolkeApi
License
Licensed under MIT
Discord server for the API: https://discord.gg/y5MPvUC