2.0.2 • Published 5 months ago

anybotapi v2.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

based on MDCYT/Any-Bot

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

Usage

Basic constructor & login

import { Client } from "anybotapi";

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

> With out api key login 
```javascript
const myAnyAPIClient = new Client({api_key: undefined});

With API key

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

Using routes

Example:

    const data = await client.routes.anime.hug();
    console.log(data.image);

Using animals fun facts

    const data = await client.routes.animals.dog();
    console.log(data.fact);
2.0.2

5 months ago

2.0.1

5 months ago

2.0.0

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago