Project

amazon-drs

0.0
No commit activity in last 3 years
No release in over 3 years
amazon-drs is for Amazon Dash Replenishment Service. You can use this after authorized by Login with Amazon.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

AmazonDrs

It's for Amazon Dash Replenishment Service.

Installation

Add this line to your application's Gemfile:

gem 'amazon-drs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install amazon-drs

Usage

# Please use access_token what is prepared beforehand:
# https://rubygems.org/gems/omniauth-amazon
client = AmazonDrs::Client.new('device_model') do |c|
  c.authorization_code = 'authorization_code'
  c.serial = 'serial'
  c.redirect_uri = 'http://redirect_uri/'
  c.access_token = 'access_token'
  c.refresh_token = 'refresh_token'
  c.client_id = 'aaa'
  c.client_secret = 'secret'
end
@drs.subscription_info

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aycabta/amazon-drs.

License

The gem is available as open source under the terms of the MIT License.

Badges

  • Build Status
  • Build Status