ebay tradingAPI gem

ANX d9c9585309 修正tradingAPI相關參數 8 năm trước cách đây
bin 79257dc514 initial commit 10 năm trước cách đây
lib d9c9585309 修正tradingAPI相關參數 8 năm trước cách đây
spec 79257dc514 initial commit 10 năm trước cách đây
.gitignore 79257dc514 initial commit 10 năm trước cách đây
.rspec 79257dc514 initial commit 10 năm trước cách đây
.travis.yml 79257dc514 initial commit 10 năm trước cách đây
Gemfile 79257dc514 initial commit 10 năm trước cách đây
LICENSE.txt 79257dc514 initial commit 10 năm trước cách đây
README.md b25a274415 ready to push anx 9 năm trước cách đây
Rakefile 79257dc514 initial commit 10 năm trước cách đây
ebaytr.gemspec 79257dc514 initial commit 10 năm trước cách đây

README.md

Ebaytr

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/ebaytr. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

gem 'ebaytr'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ebaytr

Usage

Ebaytr.token = "xxxx"
Ebaytr.url = "https://api.sandbox.ebay.com/ws/api.dll"
@ebay_json = Ebaytr.trading(:GetItem, ItemID: '101010101010')
@ebay_json = Ebaytr.trading(:AddItem, {})
@ebay_json = Ebaytr.trading(:ReviseItem, {})
  ...

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anxgang/ebaytr.

License

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