2.0.1 • Published 3 years ago

ards-client v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Pulls Posts from Reddit, Danbooru, rule34, Konachan, and Yande.re NPM Version NPM Downloads OpenIssues

Documentation | Support

If you are upgrading from version 1.x and 2.x, please read this guide on updating to version 3.x.

Installation

Note: Node.js 14.0.0 or newer is required.

npm i ards-client
yarn add ards-client

Basic Usage

For more info on a specific class visit the docs.

For Reddit

const { redditCustom } = require("ards-client");
// subreddit can be a string or an array
let subreddit = ['subreddit1', 'subreddit2'];
let limit = 50;
new redditCustom(subreddit, limit).then(data => {
    console.log(data);
}).catch(error => {
    console.log(error);
});

For Danbooru

const { danbooru } = require("ards-client");
let tags = ['tag1', 'tag2'];
let limit = 50;
new danbooru(tags, limit).then(data => {
    console.log(data);
}).catch(error => {
    console.log(error);
});

For Konachan

const { konachan } = require("ards-client");
let tags = ['tag1', 'tag2'];
let limit = 50;
new konachan(tags, limit).then(data => {
    console.log(data);
}).catch(error => {
    console.log(error);
});

For Rule34

const { rule34 } = require("ards-client");
let tags = ['tag1', 'tag2'];
let limit = 50;
new rule34(tags, limit).then(data => {
    console.log(data);
}).catch(error => {
    console.log(error);
});

For Yande.re

const { yandere } = require("ards-client");
let tags = ['tag1', 'tag2'];
let limit = 50;
new yandere(tags, limit).then(data => {
    console.log(data);
}).catch(error => {
    console.log(error);
});

Links

License

The MIT License © 2021-Present shhh7612. All rights reserved.

3.0.0-dev.0.0.4

3 years ago

3.0.0-dev.0.0.3

3 years ago

3.0.0-dev.0.0.2

3 years ago

3.0.0-dev.0.0.1

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.6-1

3 years ago

1.3.5

3 years ago

1.3.5-1

3 years ago

1.3.4-2

3 years ago

1.3.4

3 years ago

1.3.4-1

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.8

3 years ago

1.2.9

3 years ago

1.2.5-b

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5-c

3 years ago

1.2.5

3 years ago

1.2.7-1

3 years ago

1.2.0

3 years ago

1.1.0-b

3 years ago

1.1.0-a

3 years ago

1.0.5

3 years ago

1.0.62

3 years ago

1.0.61

3 years ago

1.0.60

3 years ago

1.0.64

3 years ago

1.0.63

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago