Project

ebay_ruby

0.01
No commit activity in last 3 years
No release in over 3 years
Get access to all ebay api fundamentals with fetch data, find item..many more
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

active_support
>= 0
~> 1.6
>= 0
 Project Readme

EbayRuby

Ebay access finding API with getting all items.

Gem Version

## Installation

Add this line to your application's Gemfile:

gem 'ebay_ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ebay_ruby

Usage

Find your App Id on ebay Account

 require 'ebay_ruby'
 c=EbayConnect.new("YOURAPPID")

Send two arguments keyword, number of entry per page

 items = c.find_items_by_keywords("Harry Potter", 3)
 items = c.find_items_by_category("CATEGORY_ID", 3)
 items  = c.find_items_by_product("ISBN/UPC/EAN", 3)
 item = items.first
 item.title
 item.globalId
 item.primaryCategory #to get categoryid and name [{"categoryId"=>["2444"], "categoryName"=>["Vintage"]}]
 item.galleryURL # to get gallery url
 item.viewItemURL #to get the original ebay url
 item.paymentMethod
 item.postalCode
 item.location
 item.country
 item.shippingInfo
 item.shipToLocations
 item.sellingStatus # it return current market price with currency [{"currentPrice"=>[{"@currencyId"=>"USD", "__value__"=>"10.0"}], "convertedCurrentPrice"=>[{"@currencyId"=>"USD", "__value__"=>"10.0"}], "bidCount"=>["0"], "sellingState"=>["Active"], "timeLeft"=>["P0DT1H41M35S"]}]


 item.listingInfo #[{"bestOfferEnabled"=>["false"], "buyItNowAvailable"=>["false"], "startTime"=>["2014-06-07T08:16:46.000Z"], "endTime"=>["2014-06-10T08:16:46.000Z"], "listingType"=>["Auction"], "gift"=>["false"]}]
 item.topRatedListing
...

So on

Contributing

  1. Fork it ( https://github.com/rajcybage/ebay_ruby/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request