nhentai-api

nhentai-api is a basic and easy to use API for nhentai.net


Keywords
api, doujinshi, hentai, ruby
License
MIT
Install
gem install nhentai-api -v 0.1.3

Documentation

Gem Version MIT license Maintainability

nhentai-api

nhentai-api is a basic and easy to use API for nhentai.net

Installation

Gem install

gem install nhentai-api

Gemfile

gem 'nhentai-api', '~> 1.0'

API

doujinshi = Doujinshi.new(id: 220794)
puts doujinshi.title
puts doujinshi.pages
puts doujinshi.related

puts Doujinshi.random

puts Tag.new(keyword: 'ahegao').listing
puts Character.new(keyword: '2b', sort: :all_time, page: 5).listing

options = {
  keywords: { included: ["girl"] },
  pages: [">= 10", "<= 200"]
}
puts Search.new(options: options).listing

Documentation

The wiki contains the list of all methods with examples

Contributors

  • Mraiih Gael Roussel - creator, maintainer