1.0.5 • Published 4 years ago

cheweybot-api v1.0.5

Weekly downloads
8
License
ISC
Repository
-
Last release
4 years ago

Chewey Bot Api

This is a handler for the Chewey Bot API. The API currently has random space,cats,dogs,birbs and many more to come as well as many more non image features to happen

Demo

var cheweyBot=require('cheweybot-api')
cheweyBot.init("MY-TOKEN")
// Some delay
cheweyBot.get("cat").then((reply)=>{
    console.log(reply.data); //Now have image url
})
var cheweyBot=require('cheweybot-api')

cheweyBot.init("MY-TOKEN").then((reply)=>{console.log(reply);
cheweyBot.get("cat").then((reply)=>{console.log(reply);})
})

setTimeout(()=>{
cheweyBot.show((data)=>{console.log(data);})
},200)

You can view all endpoints and a simple break down in .show() and then also fetch any of the valid endpoints with .get

This library supports both promise and callback style referencing so use which every you prefer

Help keep the API alive at https://www.patreon.com/CheweyZ

or check out our website at https://chewey-bot.top/ access API directly at https://api.chewey-bot.top/

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago