2.0.10 • Published 4 years ago

furrybotapi v2.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Furry Bot API

Advantages of this api:

  • Requires no authentication, so it is easier to use
  • All image are HAND PICKED by the api creator, Donovan_DMC (note: if you find an image that seems out of place, report it in our Discord server, I try to do my best, but I'm not perfect!)
  • The api has multiple instances running, so requests are solved fast, even when there are many people accessing the api at one time!
  • Everything is served from our cdn (yiff.media)
  • 99.9% uptime

This is the only official api wrapper for api.furry.bot, with special typescript support for all endpoints!

You can get the available methods from the typings, or by making a request to https://api.furry.bot/V2/categories, replace the periods in the db property with forward slashes, and use that as the url.

If you are building this module from scratch, you will need to build it using npm run build, this will put the js files you need in the src folder. (you will need typescript to be installed globally (npm i -g typescript) to use the typescript compiler)

Requests on the default api are converted to methods by replacing forward slashes with periods. ex
https://api.furry.bot/V2/animals/birb -> animals.birb()
https://api.furry.bot/V2/furry/hug -> furry.hug()
https://api.furry.bot/V2/furry/yiff/gay -> furry.yiff.gay()

this module can return an image, or 1-5 json responses.

Image:

import FurryBotAPI from "furrybotapi";
import * as fs from "fs";
const fb = new FurryBotAPI();

fb.furry.hug("image").then(res => fs.writeFileSync(`${__dirname}/file.png`, res.image));

JSON (1):

import FurryBotAPI from "furrybotapi";
const fb = new FurryBotAPI();

fb.furry.hug("json").then(res => console.log(res)); // 1 JSON response, "json" can be omitted

JSON (2+):

import FurryBotAPI from "furrybotapi";
const fb = new FurryBotAPI();

fb.furry.hug("json", 2).then(res => console.log(res)); // 2 json responses, an array
2.0.10

4 years ago

2.0.9

4 years ago

2.0.7

4 years ago

2.0.8

4 years ago

2.0.6

4 years ago

2.0.3

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.0-beta.7

4 years ago

2.0.0-beta.6

4 years ago

2.0.0-beta.5

4 years ago

2.0.0-beta.4

4 years ago

2.0.0-beta.2

4 years ago

2.0.0-beta.1

4 years ago

2.0.0-beta.0

4 years ago

2.0.0-beta.3

4 years ago

1.0.8

4 years ago

1.0.7

5 years ago

1.0.6

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago

69.420.621

5 years ago

1.69.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago