1.3.6 • Published 6 years ago

hentai.js v1.3.6

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
6 years ago

haha yes

Hentai.js ~ A Hentai API wrapper!

An API wrapper for computerfreaker's API endpoints!

An Example for usage:

const { HentaiClient } = require("hentai.js");

const hentaiClient = new HentaiClient({
    useragent: "Example/Production/0.0.0" // optional useragent (you'll be given a shitty hentai.js useragent if you don't edit this)
});

// Fetching Hentai

hentaiClient.hentai().then((result) => {
    console.log(result);
});

// Getting hentai.js' version

hentaiClient.version;

// Fetching anime

hentaiClient.anime().then((result) => {
    console.log(result);
});

// Fetching D.VA

hentaiClient.dva().then((result) => {
    console.log(result);
});

// Fetching traps

hentaiClient.trap().then((result) => {
    console.log(result);
});

// Fetching hugs

hentaiClient.hug().then((result) => {
    console.log(result);
});

// Fetching baguettes

hentaiClient.baguette().then((result) => {
    console.log(result);
});

Made by snarkyllama™

Links

computerfreaker's website ~ Click me!

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

0.0.1

6 years ago

1.0.0

6 years ago