YandexMarketApiWrapper
It's a YandexMarket API wrapper written in Ruby. Will be useful for people having authorization key from Yandex. Provides a simple interface to make API calls to YandexMarket. Not all methods will be supported in the beginnig.
Installation
Add this line to your application's Gemfile:
gem 'yandex_market_api_wrapper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install yandex_market_api_wrapper
Usage
Configuration
There are several parameters that can be configured:
- auth_key
- api_version
- default_format
Code example:
YandexMarketApiClient.configure do |config|
config.auth_key = "Your Auth Key Here"
config.api_version = "1"
config.default_format = "json"
end
If no version or format options are provided, the default values will be seted.
Default Yandex api_version is 1
Default deafult_format is json
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