This library provides a wrapper around the SEOshop REST API for use within Ruby apps or via the console.
Add this line to your application's Gemfile:
gem 'seoshop-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install seoshop-api
Configure:
Seoshop.configure do |conf|
conf.app_key = 'app_key'
conf.secret = 'secret'
end
Create a client, and use it to call the SEOshop api.
shop_api = Seoshop::Client.new('shop_token', 'shop_language')
shop_api.get_shop
shop_api.get_products
- 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