An API Client library for DMM Web Service written in Ruby.
See https://affiliate.dmm.com/api/ for more details about DMM Web Service.
- Ruby 2.2.2 or higher
Add this line to your application's Gemfile:
gem "rdmm"
And then execute:
bundle
Or install it yourself as:
gem install rdmm
require "rdmm"
client = Rdmm::Client.new(affiliate_id: "dummy", api_id: "dummy")
Available options:
:id
:birthday_from
:birthday_to
:bust_from
:bust_to
:height_from
:height_to
:hip_from
:hip_to
:hits
:initial
:keyword
:offset
:sort
:waist_from
:waist_to
client.list_actresses
https://api.dmm.com/affiliate/v3/ActressSearch?affiliate_id=dummy&api_id=dummy
Available options:
:floor_id
:hits
:initial
:offset
client.list_authors(floor_id: 27)
https://api.dmm.com/affiliate/v3/AuthorSearch?affiliate_id=dummy&api_id=dummy&floor_id=27
client.list_floors
https://api.dmm.com/affiliate/v3/FloorList?affiliate_id=dummy&api_id=dummy
Available options:
:floor_id
:hits
:initial
:offset
client.list_genres(floor_id: 27)
https://api.dmm.com/affiliate/v3/GenreSearch?affiliate_id=dummy&api_id=dummy&floor_id=27
Available options:
:article
:article_id
:content_id
:floor_code
:hits
:keyword
:mono_stock
:offset
:released_from
:released_to
:service_code
:site
:sort
client.list_items(site: "DMM.com")
https://api.dmm.com/affiliate/v3/ItemList?affiliate_id=dummy&api_id=dummy&site=DMM.com
Available options:
:floor_id
:hits
:initial
:offset
client.list_makers(floor_id: 27)
https://api.dmm.com/affiliate/v3/MakerSearch?affiliate_id=dummy&api_id=dummy&floor_id=27
Available options:
:floor_id
:hits
:initial
:offset
client.list_series(floor_id: 27)
https://api.dmm.com/affiliate/v3/SeriesSearch?affiliate_id=dummy&api_id=dummy&floor_id=27
Available methods:
#body
#each
#errors
#first_position
#has_error?
#has_next_page?
#headers
#message
#next_page_offset
#resources
#result_count
#status
#total_count
Available methods:
#birthday
#blood_type
#bust
#cup
#height
#hobbies
#id
#image_url_large
#image_url_small
#list_url_digital
#list_url_mono
#list_url_monthly
#list_url_ppm
#list_url_rental
#name
#prefectures
#ruby
#waist
Available methods:
#another_name
#id
#list_url
#name
#ruby
Available methods:
#code
#id
#name
#service_code
#service_name
#site_code
#site_name
Available methods:
#id
#list_url
#name
#ruby
Available methods:
#actors
#actresses
#authors
#bandai_title_code
#category_name
#cd_kind
#compatible_with_pc?
#compatible_with_sp?
#content_id
#directors
#floor_code
#floor_name
#genres
#isbn
#jancode
#labels
#maker_product
#makers
#number
#price
#price_deliveries
#price_proper
#product_id
#released_at
#review_average
#review_count
#series
#service_code
#service_name
#stock
#stock
#title
#url
#url_affiliate
#url_image_large
#url_image_list
#url_image_samples
#url_image_small
#url_movie_sample_size_476_306
#url_movie_sample_size_560_360
#url_movie_sample_size_644_414
#url_movie_sample_size_720_480
#url_sp
#url_sp_affiliate
#url_tachiyomi
#url_tachiyomi_affiliate
#volume
Available methods:
#id
#list_url
#name
#ruby
Available methods:
#id
#list_url
#name
#ruby