2.0.0 • Published 4 years ago
anime-images-api v2.0.0
Anime-Images-API Javascript Wrapper
About:
This ia a Javascript Wrapper For Anime-Images-Api
About The API:
Anime-Images API is a powerful Rest API built with Node.JS
1000+ Images
10+ Endpoints. With more being Added
Lightning fast responses
Basic Usage:
const Anime_Images = require('anime-images-api')
const API = new Anime_Images()
async function getIMG(){
let { image } = await API.sfw.hug()
console.log(image)
}
getIMG()
//Or get an NSFW Image:
getNSFWImg()
async function getNSFWImg(){
let { image } = await API.nsfw.hentai()
console.log(image)
}
Output:
https://anime-api.hisoka17.repl.co/images/hug80.gif
Endpoint Methods:
API.sfw
:
Endpoint | Description |
---|---|
hug() | Sends a hug Gif |
kiss() | Sends a kiss Gif |
slap() | Sends a slap Gif |
punch() | Sends a punch Gif |
wink() | Sends a winking Gif |
pat() | Sends a pat Gif |
kill() | Sends a kill Gif |
cuddle() | Sends a cuddle Gif |
wafiu() | Sends a waifu |
API.nsfw
:
Endpoint | Description |
---|---|
hentai() | Sends a hentai Gif |
boobs() | Sends a boob Gif |
lesbian() | Sends a lesbian Gif |
Download the image:
const Anime_Images = require('anime-images-api')
const API = new Anime_Images()
(async () => {
let image = await API.sfw.hug();
image.download('images', 'hugging') //Path, Filename
.then(() => console.log('Finished Downloading'))
})()
Discord Bot example:
const Discord = require('discord.js');
const client = new Discord.Client()
const API = require('anime-images-api')
const images_api = new API()
client.on('message', function(m){
if (m.content.startsWith('image')){
images_api.sfw.hug().then(response => {
m.channel.send(response.image)
})
}
})
2.0.0
4 years ago
1.0.82
4 years ago
1.0.47
4 years ago
1.0.45
4 years ago
1.0.49
4 years ago
1.0.39
4 years ago
1.0.38
4 years ago
1.0.43
4 years ago
1.0.42
4 years ago
1.0.41
4 years ago
1.0.33
4 years ago
1.0.32
4 years ago
1.0.31
4 years ago
1.0.37
4 years ago
1.0.36
4 years ago
1.0.35
4 years ago
1.0.34
4 years ago
1.0.28
4 years ago
1.0.30
4 years ago
1.0.27
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.22
4 years ago
1.0.23
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago