Skip to content

Chewey-Bot/chewey-bot-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chewey Bot Api

This is a handler for the Chewey Bot API.

Demos

Javascript

const { CheweyBotAPI, CB_ENDPOINTS } = require('chewey-bot-api');

let CBClient = new CheweyBotAPI('myToken');

CBClient.image(CB_ENDPOINTS.RED_PANDA)
  .then(result => {
    console.log(result); // URL of image
  })
  .catch(err => {
    console.error(err);
  });

Typescript

import { CB_ENDPOINTS, CheweyBotAPI } from 'chewey-bot-api';

const CBClient = new CheweyBotAPI('myToken');

CBClient.image(CB_ENDPOINTS.RED_PANDA)
  .then(result => {
    console.log(result); // URL of image
  })
  .catch(err => {
    console.error(err);
  });

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/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published