Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ruby-dmm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby-dmm

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ruby-dmm

Gem Version Build Status Coverage Status Code Climate Dependency Status

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] }
# => ["僕のヒーローアカデミア",
#     "みんな!エスパーだよ!-欲望だらけのラブ・ウォーズ-",
#     "血界戦線 Vol.6 (ブルーレイディスク)",
#     "エルフェンリート",
#     "学園アリス",
#     "ストレイヤーズ・クロニクル",
#     "Honey Bitter",
#     "MONSTERZ モンスターズ",
#     "AREA D 異能領域",
#     "十十虫は夢を見る",
#     "蝶戦士ピンクフューリーS",
#     "バビル2世 ザ・リターナー",
#     "とある科学の超電磁砲",
#     "裸心の十字架",
#     "菊池俊輔 作曲50周年 CD-BOX Composer SHUNSUKE KIKUCHI 50th Anniversary",
#     "アライブ 最終進化的少年",
#     "恋は光",
#     "ホムンクルス",
#     "目隠しの国",
#     "AKIRA"]

DMM::Client interface is very similar to (dmm-js-sdk](https://github.com/DMMcomLabo/dmm-js-sdk).

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

See also

API Reference

FAQs

Package last updated on 21 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc