hentai 0.2.3

API wrapper for nhentai.net
Documentation

hentai

The aptly named hentai crate provides an easy mechanism to consume nhentai's public facing APIs in Rust. As of now, hentai relies solely on these APIs instead of scraping their website. However, this capability may be added in the near future.

hentai will provide information about a doujin given its six-digit code. Alternatively, the JSON response from nhentai's /api/gallery/{id} endpoint may be provided directly.

hentai is based on the similar package for python.

Documentation

Planned Features

  • Search doujins and other misc. features
  • CLI [in progress]
  • Web scraping to get new & popular doujins

Install

Using cargo-edit

cargo add hentai

Manually

Add the following to your Cargo.toml:

hentai = "0.2.3"

Contribute

Local

git clone https://github.com/EmperorParzival/hentai
cd hentai
cargo install --force --path .

Browser

Open in Gitpod