hentai

Crates.iohentai
lib.rshentai
version0.2.3
sourcesrc
created_at2021-02-22 01:23:40.276602
updated_at2022-06-24 19:33:47.634751
descriptionAPI wrapper for nhentai.net
homepagehttps://github.com/EmperorParzival/hentai
repositoryhttps://github.com/EmperorParzival/hentai.git
max_upload_size
id358737
size1,033,988
(EmperorParzival)

documentation

https://docs.rs/hentai

README

version documentation downloads
license GitHub code size in bytes Build Status GitHub deployments
Run on Repl.it Gitpod ready-to-code

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

Commit count: 0

cargo fmt