Api2cart
Ruby client for API2Cart with proxy support, fully covered with tests. The DSL is similar to DSL of original gem therefore migration is easy.
Installation
Add this line to your application's Gemfile:
gem 'api2cart-ruby', require: 'api2cart'
And then execute:
$ bundle
Or install it yourself as:
$ gem install api2cart-ruby
Usage
Api2cart::Store.new(api_key, store_key).product_count
# => { 'products_count' => 76 }
With proxy:
Api2cart::Store.new(api_key, store_key, proxy: 'http://anti-throttling-proxy.local:1080').product_count
# => { 'products_count' => 76 }
Contributors
Sponsored by Veeqo