Skip to content

AnyDevCode/Any-API-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Any API

based on MDCYT/Any-Bot

AnyAPI is an API interactor of MDCYT/Any-API by MDC

Usage

Basic constructor & login

const { Client } = require("anybotapi")

const myAnyAPIClient = new Client({api_key: process.env.API_KEY || undefined});
global.myAnyAPIClient = myAnyAPIClient;

myAnyAPIClient.animals.dog().then(data=>{
    console.log(data); 
});

With out api key login

const myAnyAPIClient = new Client();

With API key

// use an valid API key, this isnt valid xdd
const api_key = "API_KEY";
const myAnyAPIClient = new Client({api_key})

About

AnyAPI

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors