2.0.3 • Published 2 years ago

devilish-api v2.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

devilish-api

About:

devilish-api is a simple image fetcher, with thousands of images!

Basic Usage

const devilishAPI = require('devilish-api')
const API = new devilishAPI()
async function getRandomImg(){
    let { data, id } = await API.nsfw.ass()
    console.log(data, id)
}
getRandomImg()

Output:

https://dl.phncdn.com/pics/gifs/018/490/241/(m=ldpwiqacxtE_Ai)(mh=RGL7oxBTWdbOYZ-S)18490241b.gif

Endpoint Methods

API.nsfw:

EndpointDescription
ass()Sends a ASS gif, or image!

Discord Example

const discord = require('discord.js');
const bot = new discord.Client()
const devilishAPI = require('devilish-api')
const API = new devilishAPI() 

bot.on('message', function(message){
    if (m.content.startsWith('ass')){
        API.nsfw.ass().then(response => {
            message.channel.send(response.data)
        }) 
    }
})

bot.login()
2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago