Jingdong api with ruby
Add this line to your application's Gemfile:
gem 'jd_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jd_api
@app_key = 'app_key'
@app_secret = 'app_secret'
client = JdApi::Client.new(@app_key, @app_secret)
p client.base_product('981821,1094930,1115374')
- 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