ruby-dmm
Client for the DMM Web Service API v3
Installation
Add this line to your application's Gemfile:
gem 'ruby-dmm'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-dmm
Usage
client = DMM.new(:api_id => "YOUR-API-ID", :affiliate_id => "YOUR-AFFILIATE-ID")
response = cli.product(:site => 'DMM.com', :keyword => '超能力', :sort => 'rank')
response.result[:items].map {|x| x[:title] }
DMM::Client interface is very similar to (dmm-js-sdk](https://github.com/DMMcomLabo/dmm-js-sdk).
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
See also
API Reference