A nodejs battleship that wraps around nhentai api.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
cCurmudgeon 03b0192db6 Readme update 2 weeks ago
src Forgot await 2 weeks ago
.gitignore gitignore 2 weeks ago
README.md Readme update 2 weeks ago
package-lock.json 2.5.3 2 weeks ago
package.json 2.5.3 2 weeks ago

README.md

Kongou

Original Artwork

The ShipGirl Project, feat Kongou; ⓒ Kancolle

A nodejs battleship that wraps around nhentai's API.

Features

Simple

Stable

100% API coverage

Cutest shipgirl ❤ (Very Important)

Installation

npm i kongou

Documentation

Functions

  1. get()
  2. query()
  3. search()

Examples

  1. get()
  2. query()
  3. search()

Options

  1. Sort
  2. Keyword
  3. Page

Examples

const kongou = require("kongou");
const nhentai = new kongou();

async function Q() {
    await nhentai
      .get(223435)
      .then((data) => {
        console.log(data);
      })
      .catch((error) => console.log(error));
  }
}

or

const kongou = require("kongou");
const nhentai = new kongou();
async function Q() {
  await nhentai
    .query("艦隊これくしょん")
    .then((data) => console.log(data))
    .catch((error) => console.log(error));
}
Q();

For more information check the wiki.

Discord