Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

drync/ebay-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ebay::Inventory

eBay Inventory Management API client.

Rides sidecar to the Trading API client and adds support for inventory functions related to in-store pickup.

http://developer.ebay.com/DevZone/store-pickup/InventoryManagement/index.html

Installation

Add this line to your application's Gemfile:

gem 'ebay-inventory'

Because the original ebay client gem is abandoned you'll need to add a compatible fork to your Gemfile:

gem 'ebayapi', :github => 'drync/ebay'

And then execute:

$ bundle

Usage

Configure the api client with an authentication token and enable sandbox if not running in production.

Ebay::Inventory::Api.configure do |config|
  config.auth_token = ...
  config.use_sandbox = true    # defaults to production
end

API methods are called on a client instance.

ebay = Ebay::Inventory::Api.new
ebay.add_inventory_location(...)
ebay.add_inventory(...)

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/drync/ebay-inventory.

License

Usable under the terms of the MIT license.

Credits

Based on ebay Trading API client code by Cody Fauser and others, their work used under the terms of the MIT license.

About

eBay Inventory Management API client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published