0.0
No release in over a year
nhentai-api is a basic and easy to use API for nhentai.net
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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