ebay-ruby 0.0.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 61ef56a95ed5175f1197fa237499c3b3364ee853
4
- data.tar.gz: 02f74d8bf1481d2bc5f3c0a7d1f4310fdcaafabb
2
+ SHA256:
3
+ metadata.gz: 17b513ab5b0d12b5a396988acca1210f323333eb0f6108d5f1e3382542f4509d
4
+ data.tar.gz: 5dd731e4430e1e5975928c257d8254e9cadc0b750014c1adc362d34de6b83df1
5
5
  SHA512:
6
- metadata.gz: ba7219e51106250f5140119e225b38bdefd9ae446ccd03f262eb201a3d9d4d3caff8cf5a950ac7f175d2a36666d2f08d06307190a62f28cc1d30526fd8439d70
7
- data.tar.gz: 97bdcde5ade59131b28b11e425ff4d0d6f755f119d285ffb563912bd7c6c495b0fc6a142322e01a39d4c9166a61a1cb8e7f2eaf793d0943a24570ea52f038844
6
+ metadata.gz: 4a6d11bf31a67a33674d8a8a6823ce48839931d12f3f2224a53faff81d0bb58cd266fda61532f33db8ea6ac2d9baadebe74363d4aace1370e0b25bcde0414540
7
+ data.tar.gz: fb5facaa0b53126fb343707dfc93fee0a9a49cf45e280a1d95f537e6967d0c833f528e997651c2d6eed3a11656a426b20786d08389141e09880f4d957658261e
data/.travis.yml CHANGED
@@ -1,6 +1,15 @@
1
+ language: ruby
1
2
  rvm:
2
- - 1.9.3
3
3
  - 2.0.0
4
- - 2.1
5
- - jruby-19mode
4
+ - 2.1.0
6
5
  - rbx-2
6
+ - jruby-19mode
7
+ - ruby-head
8
+ - jruby-head
9
+ env:
10
+ global:
11
+ - EBAY_APP_ID=foo
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: jruby-head
15
+ - rvm: ruby-head
data/ebay-ruby.gemspec CHANGED
@@ -9,13 +9,11 @@ Gem::Specification.new do |s|
9
9
  s.homepage = 'https://github.com/hakanensari/ebay-ruby'
10
10
  s.summary = 'A Ruby wrapper to the eBay Web Services API'
11
11
 
12
- s.add_dependency 'multi_xml', '~> 0.5.5'
13
12
  s.add_dependency 'excon', '~>0.33'
13
+ s.add_dependency 'multi_xml', '>= 0.5.5'
14
14
 
15
- s.add_development_dependency 'pry', '~> 0.9.12'
16
15
  s.add_development_dependency 'rake', '~> 10.3'
17
16
  s.add_development_dependency 'minitest', '~> 5.3'
18
- s.add_development_dependency 'minitest-emoji', '~> 2.0'
19
17
  s.add_development_dependency 'vcr', '~> 2.9'
20
18
 
21
19
  s.files = `git ls-files`.split("\n")
data/lib/ebay/config.rb CHANGED
@@ -1,10 +1,14 @@
1
1
  module Ebay
2
2
  module Config
3
3
  class << self
4
- attr_writer :app_id
4
+ %i(app_id dev_id cert_id).each do |method|
5
+ eval <<-DEF
6
+ attr_writer :#{method}
5
7
 
6
- def app_id
7
- @app_id || ENV['EBAY_APP_ID']
8
+ def #{method}
9
+ @#{method} || ENV['EBAY_#{method.upcase}']
10
+ end
11
+ DEF
8
12
  end
9
13
  end
10
14
  end
data/lib/ebay/finding.rb CHANGED
@@ -2,15 +2,8 @@ require 'ebay/request'
2
2
 
3
3
  module Ebay
4
4
  class Finding < Request
5
- def initialize
6
- @host = 'svcs.ebay.com'
7
- @path = '/services/search/FindingService/v1'
8
- @sandbox = 'svcs.sandbox.ebay.com'
9
- @defaults = {
10
- headers: {
11
- 'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
12
- }
13
- }
14
- end
5
+ host 'svcs.ebay.com'
6
+ path '/services/search/FindingService/v1'
7
+ headers 'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
15
8
  end
16
9
  end
@@ -2,15 +2,8 @@ require 'ebay/request'
2
2
 
3
3
  module Ebay
4
4
  class Merchandising < Request
5
- def initialize
6
- @host = 'svcs.ebay.com'
7
- @path = '/MerchandisingService'
8
- @sandbox = 'svcs.sandbox.ebay.com'
9
- @defaults = {
10
- headers: {
11
- 'EBAY-SOA-CONSUMER-ID' => Config.app_id
12
- }
13
- }
14
- end
5
+ host 'svcs.ebay.com'
6
+ path '/MerchandisingService'
7
+ headers 'EBAY-SOA-CONSUMER-ID' => Config.app_id
15
8
  end
16
9
  end
data/lib/ebay/product.rb CHANGED
@@ -2,15 +2,8 @@ require 'ebay/request'
2
2
 
3
3
  module Ebay
4
4
  class Product < Request
5
- def initialize
6
- @host = 'svcs.ebay.com'
7
- @path = '/services/marketplacecatalog/ProductService/v1'
8
- @sandbox = 'svcs.sandbox.ebay.com'
9
- @defaults = {
10
- headers: {
11
- 'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
12
- }
13
- }
14
- end
5
+ host 'svcs.ebay.com'
6
+ path '/services/marketplacecatalog/ProductService/v1'
7
+ headers 'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
15
8
  end
16
9
  end
@@ -2,15 +2,8 @@ require 'ebay/request'
2
2
 
3
3
  module Ebay
4
4
  class ProductMetadata < Request
5
- def initialize
6
- @host = 'svcs.ebay.com'
7
- @path = '/services/marketplacecatalog/ProductMetadataService/v1'
8
- @sandbox = 'svcs.sandbox.ebay.com'
9
- @defaults = {
10
- headers: {
11
- 'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
12
- }
13
- }
14
- end
5
+ host 'svcs.ebay.com'
6
+ path '/services/marketplacecatalog/ProductMetadataService/v1'
7
+ headers 'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
15
8
  end
16
9
  end
data/lib/ebay/request.rb CHANGED
@@ -4,18 +4,32 @@ require 'ebay/parser'
4
4
 
5
5
  module Ebay
6
6
  class Request
7
+ %i(host path headers).each do |method|
8
+ eval <<-DEF
9
+ def self.#{method}(value = nil)
10
+ value ? @#{method} = value : @#{method}
11
+ end
12
+
13
+ def #{method}
14
+ @#{method} ||= self.class.send(:#{method})
15
+ end
16
+ DEF
17
+ end
18
+
7
19
  def sandbox!
8
- @host = @sandbox
20
+ return if host.include?('sandbox')
21
+ host.sub!('ebay', 'sandbox.ebay')
9
22
  end
10
23
 
11
24
  def get(opts)
12
- Parser.new(connection.get(opts))
25
+ response = connection.get(opts)
26
+ Parser.new(response)
13
27
  end
14
28
 
15
29
  private
16
30
 
17
31
  def connection
18
- Excon.new("http://#{@host}#{@path}", @defaults)
32
+ Excon.new("https://#{host}#{path}", headers: headers)
19
33
  end
20
34
  end
21
35
  end
data/lib/ebay/shopping.rb CHANGED
@@ -2,16 +2,9 @@ require 'ebay/request'
2
2
 
3
3
  module Ebay
4
4
  class Shopping < Request
5
- def initialize
6
- @host = 'open.api.ebay.com'
7
- @path = '/shopping'
8
- @sandbox = 'open.api.sandbox.ebay.com'
9
- @defaults = {
10
- headers: {
11
- 'X-EBAY-API-APP-ID' => Config.app_id,
12
- 'X-EBAY-API-VERSION' => 799
13
- }
14
- }
15
- end
5
+ host 'open.api.ebay.com'
6
+ path '/shopping'
7
+ headers 'X-EBAY-API-APP-ID' => Config.app_id,
8
+ 'X-EBAY-API-VERSION' => 799
16
9
  end
17
10
  end
data/lib/ebay/version.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ebay
2
- VERSION = '0.0.1'
4
+ VERSION = '0.2.0'
3
5
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://svcs.sandbox.ebay.com/services/search/FindingService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=findItemsByKeywords&keywords=ernesto+laclau
5
+ uri: https://svcs.sandbox.ebay.com/services/search/FindingService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=findItemsByKeywords&keywords=ernesto+laclau
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -12,7 +12,7 @@ http_interactions:
12
12
  response:
13
13
  status:
14
14
  code: 200
15
- message:
15
+ message:
16
16
  headers:
17
17
  Server:
18
18
  - Apache-Coyote/1.1
@@ -33,7 +33,7 @@ http_interactions:
33
33
  X-EBAY-SOA-OPERATION-NAME:
34
34
  - findItemsByKeywords
35
35
  X-EBAY-SOA-SERVICE-NAME:
36
- - "{http://www.ebay.com/marketplace/search/v1/services}FindingService"
36
+ - "{https://www.ebay.com/marketplace/search/v1/services}FindingService"
37
37
  Content-Type:
38
38
  - text/xml;charset=UTF-8
39
39
  Transfer-Encoding:
@@ -42,33 +42,33 @@ http_interactions:
42
42
  - Sun, 11 May 2014 21:39:40 GMT
43
43
  body:
44
44
  encoding: UTF-8
45
- string: <?xml version='1.0' encoding='UTF-8'?><findItemsByKeywordsResponse xmlns="http://www.ebay.com/marketplace/search/v1/services"><ack>Success</ack><version>1.12.0</version><timestamp>2014-05-11T21:39:40.213Z</timestamp><searchResult
45
+ string: <?xml version='1.0' encoding='UTF-8'?><findItemsByKeywordsResponse xmlns="https://www.ebay.com/marketplace/search/v1/services"><ack>Success</ack><version>1.12.0</version><timestamp>2014-05-11T21:39:40.213Z</timestamp><searchResult
46
46
  count="3"><item><itemId>110108016161</itemId><title>Emancipation(s) By Laclau,
47
47
  Ernesto</title><globalId>EBAY-US</globalId><subtitle>Always Save with UnbeatableSale!</subtitle><primaryCategory><categoryId>2228</categoryId><categoryName>Textbooks,
48
- Education</categoryName></primaryCategory><viewItemURL>http://cgi.sandbox.ebay.com/Emancipation-s-Laclau-Ernesto-/110108016161</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
48
+ Education</categoryName></primaryCategory><viewItemURL>https://cgi.sandbox.ebay.com/Emancipation-s-Laclau-Ernesto-/110108016161</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
49
49
  currencyId="USD">0.0</shippingServiceCost><shippingType>Free</shippingType><shipToLocations>US</shipToLocations><expeditedShipping>false</expeditedShipping><oneDayShippingAvailable>false</oneDayShippingAvailable><handlingTime>4</handlingTime></shippingInfo><sellingStatus><currentPrice
50
50
  currencyId="USD">16.39</currentPrice><convertedCurrentPrice currencyId="USD">16.39</convertedCurrentPrice><sellingState>Active</sellingState><timeLeft>P24DT21H37M11S</timeLeft></sellingStatus><listingInfo><bestOfferEnabled>false</bestOfferEnabled><buyItNowAvailable>false</buyItNowAvailable><startTime>2012-10-13T19:11:51.000Z</startTime><endTime>2014-06-05T19:16:51.000Z</endTime><listingType>FixedPrice</listingType><gift>false</gift></listingInfo><returnsAccepted>true</returnsAccepted><condition><conditionId>1000</conditionId><conditionDisplayName>Brand
51
51
  New</conditionDisplayName></condition><isMultiVariationListing>false</isMultiVariationListing><discountPriceInfo><originalRetailPrice
52
52
  currencyId="USD">20.48</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item><item><itemId>110108016439</itemId><title>On
53
53
  Populist Reason By Laclau, Ernesto</title><globalId>EBAY-US</globalId><subtitle>Always
54
54
  Save with UnbeatableSale!</subtitle><primaryCategory><categoryId>2228</categoryId><categoryName>Textbooks,
55
- Education</categoryName></primaryCategory><viewItemURL>http://cgi.sandbox.ebay.com/Populist-Reason-Laclau-Ernesto-/110108016439</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
55
+ Education</categoryName></primaryCategory><viewItemURL>https://cgi.sandbox.ebay.com/Populist-Reason-Laclau-Ernesto-/110108016439</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
56
56
  currencyId="USD">0.0</shippingServiceCost><shippingType>Free</shippingType><shipToLocations>US</shipToLocations><expeditedShipping>false</expeditedShipping><oneDayShippingAvailable>false</oneDayShippingAvailable><handlingTime>4</handlingTime></shippingInfo><sellingStatus><currentPrice
57
57
  currencyId="USD">21.52</currentPrice><convertedCurrentPrice currencyId="USD">21.52</convertedCurrentPrice><sellingState>Active</sellingState><timeLeft>P24DT21H37M24S</timeLeft></sellingStatus><listingInfo><bestOfferEnabled>false</bestOfferEnabled><buyItNowAvailable>false</buyItNowAvailable><startTime>2012-10-13T19:12:04.000Z</startTime><endTime>2014-06-05T19:17:04.000Z</endTime><listingType>FixedPrice</listingType><gift>false</gift></listingInfo><returnsAccepted>true</returnsAccepted><condition><conditionId>1000</conditionId><conditionDisplayName>Brand
58
58
  New</conditionDisplayName></condition><isMultiVariationListing>false</isMultiVariationListing><discountPriceInfo><originalRetailPrice
59
59
  currencyId="USD">27.15</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item><item><itemId>110108023405</itemId><title>Hegemony
60
60
  and Socialist Strategy By Laclau, Ernesto/ Mouffe, Chantal</title><globalId>EBAY-US</globalId><subtitle>Always
61
61
  Save with UnbeatableSale!</subtitle><primaryCategory><categoryId>2228</categoryId><categoryName>Textbooks,
62
- Education</categoryName></primaryCategory><viewItemURL>http://cgi.sandbox.ebay.com/Hegemony-and-Socialist-Strategy-Laclau-Ernesto-Mouffe-Chantal-/110108023405</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
62
+ Education</categoryName></primaryCategory><viewItemURL>https://cgi.sandbox.ebay.com/Hegemony-and-Socialist-Strategy-Laclau-Ernesto-Mouffe-Chantal-/110108023405</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
63
63
  currencyId="USD">0.0</shippingServiceCost><shippingType>Free</shippingType><shipToLocations>US</shipToLocations><expeditedShipping>false</expeditedShipping><oneDayShippingAvailable>false</oneDayShippingAvailable><handlingTime>4</handlingTime></shippingInfo><sellingStatus><currentPrice
64
64
  currencyId="USD">21.52</currentPrice><convertedCurrentPrice currencyId="USD">21.52</convertedCurrentPrice><sellingState>Active</sellingState><timeLeft>P24DT21H43M34S</timeLeft></sellingStatus><listingInfo><bestOfferEnabled>false</bestOfferEnabled><buyItNowAvailable>false</buyItNowAvailable><startTime>2012-10-13T19:18:14.000Z</startTime><endTime>2014-06-05T19:23:14.000Z</endTime><listingType>FixedPrice</listingType><gift>false</gift></listingInfo><returnsAccepted>true</returnsAccepted><condition><conditionId>1000</conditionId><conditionDisplayName>Brand
65
65
  New</conditionDisplayName></condition><isMultiVariationListing>false</isMultiVariationListing><discountPriceInfo><originalRetailPrice
66
- currencyId="USD">27.15</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item></searchResult><paginationOutput><pageNumber>1</pageNumber><entriesPerPage>100</entriesPerPage><totalPages>1</totalPages><totalEntries>3</totalEntries></paginationOutput><itemSearchURL>http://shop.sandbox.ebay.com/i.html?_nkw=ernesto+laclau&amp;_ddo=1&amp;_ipg=100&amp;_pgn=1</itemSearchURL></findItemsByKeywordsResponse>
67
- http_version:
66
+ currencyId="USD">27.15</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item></searchResult><paginationOutput><pageNumber>1</pageNumber><entriesPerPage>100</entriesPerPage><totalPages>1</totalPages><totalEntries>3</totalEntries></paginationOutput><itemSearchURL>https://shop.sandbox.ebay.com/i.html?_nkw=ernesto+laclau&amp;_ddo=1&amp;_ipg=100&amp;_pgn=1</itemSearchURL></findItemsByKeywordsResponse>
67
+ http_version:
68
68
  recorded_at: Sun, 11 May 2014 21:39:39 GMT
69
69
  - request:
70
70
  method: get
71
- uri: http://svcs.sandbox.ebay.com/services/search/FindingService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=findItemsByKeywords&RESPONSEENCODING=JSON&keywords=ernesto+laclau
71
+ uri: https://svcs.sandbox.ebay.com/services/search/FindingService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=findItemsByKeywords&RESPONSEENCODING=JSON&keywords=ernesto+laclau
72
72
  body:
73
73
  encoding: US-ASCII
74
74
  string: ''
@@ -78,7 +78,7 @@ http_interactions:
78
78
  response:
79
79
  status:
80
80
  code: 200
81
- message:
81
+ message:
82
82
  headers:
83
83
  Server:
84
84
  - Apache-Coyote/1.1
@@ -99,7 +99,7 @@ http_interactions:
99
99
  X-EBAY-SOA-OPERATION-NAME:
100
100
  - findItemsByKeywords
101
101
  X-EBAY-SOA-SERVICE-NAME:
102
- - "{http://www.ebay.com/marketplace/search/v1/services}FindingService"
102
+ - "{https://www.ebay.com/marketplace/search/v1/services}FindingService"
103
103
  Content-Type:
104
104
  - text/xml;charset=UTF-8
105
105
  Transfer-Encoding:
@@ -108,28 +108,28 @@ http_interactions:
108
108
  - Sun, 11 May 2014 21:39:41 GMT
109
109
  body:
110
110
  encoding: UTF-8
111
- string: <?xml version='1.0' encoding='UTF-8'?><findItemsByKeywordsResponse xmlns="http://www.ebay.com/marketplace/search/v1/services"><ack>Success</ack><version>1.12.0</version><timestamp>2014-05-11T21:39:41.233Z</timestamp><searchResult
111
+ string: <?xml version='1.0' encoding='UTF-8'?><findItemsByKeywordsResponse xmlns="https://www.ebay.com/marketplace/search/v1/services"><ack>Success</ack><version>1.12.0</version><timestamp>2014-05-11T21:39:41.233Z</timestamp><searchResult
112
112
  count="3"><item><itemId>110108016161</itemId><title>Emancipation(s) By Laclau,
113
113
  Ernesto</title><globalId>EBAY-US</globalId><subtitle>Always Save with UnbeatableSale!</subtitle><primaryCategory><categoryId>2228</categoryId><categoryName>Textbooks,
114
- Education</categoryName></primaryCategory><viewItemURL>http://cgi.sandbox.ebay.com/Emancipation-s-Laclau-Ernesto-/110108016161</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
114
+ Education</categoryName></primaryCategory><viewItemURL>https://cgi.sandbox.ebay.com/Emancipation-s-Laclau-Ernesto-/110108016161</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
115
115
  currencyId="USD">0.0</shippingServiceCost><shippingType>Free</shippingType><shipToLocations>US</shipToLocations><expeditedShipping>false</expeditedShipping><oneDayShippingAvailable>false</oneDayShippingAvailable><handlingTime>4</handlingTime></shippingInfo><sellingStatus><currentPrice
116
116
  currencyId="USD">16.39</currentPrice><convertedCurrentPrice currencyId="USD">16.39</convertedCurrentPrice><sellingState>Active</sellingState><timeLeft>P24DT21H37M10S</timeLeft></sellingStatus><listingInfo><bestOfferEnabled>false</bestOfferEnabled><buyItNowAvailable>false</buyItNowAvailable><startTime>2012-10-13T19:11:51.000Z</startTime><endTime>2014-06-05T19:16:51.000Z</endTime><listingType>FixedPrice</listingType><gift>false</gift></listingInfo><returnsAccepted>true</returnsAccepted><condition><conditionId>1000</conditionId><conditionDisplayName>Brand
117
117
  New</conditionDisplayName></condition><isMultiVariationListing>false</isMultiVariationListing><discountPriceInfo><originalRetailPrice
118
118
  currencyId="USD">20.48</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item><item><itemId>110108016439</itemId><title>On
119
119
  Populist Reason By Laclau, Ernesto</title><globalId>EBAY-US</globalId><subtitle>Always
120
120
  Save with UnbeatableSale!</subtitle><primaryCategory><categoryId>2228</categoryId><categoryName>Textbooks,
121
- Education</categoryName></primaryCategory><viewItemURL>http://cgi.sandbox.ebay.com/Populist-Reason-Laclau-Ernesto-/110108016439</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
121
+ Education</categoryName></primaryCategory><viewItemURL>https://cgi.sandbox.ebay.com/Populist-Reason-Laclau-Ernesto-/110108016439</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
122
122
  currencyId="USD">0.0</shippingServiceCost><shippingType>Free</shippingType><shipToLocations>US</shipToLocations><expeditedShipping>false</expeditedShipping><oneDayShippingAvailable>false</oneDayShippingAvailable><handlingTime>4</handlingTime></shippingInfo><sellingStatus><currentPrice
123
123
  currencyId="USD">21.52</currentPrice><convertedCurrentPrice currencyId="USD">21.52</convertedCurrentPrice><sellingState>Active</sellingState><timeLeft>P24DT21H37M23S</timeLeft></sellingStatus><listingInfo><bestOfferEnabled>false</bestOfferEnabled><buyItNowAvailable>false</buyItNowAvailable><startTime>2012-10-13T19:12:04.000Z</startTime><endTime>2014-06-05T19:17:04.000Z</endTime><listingType>FixedPrice</listingType><gift>false</gift></listingInfo><returnsAccepted>true</returnsAccepted><condition><conditionId>1000</conditionId><conditionDisplayName>Brand
124
124
  New</conditionDisplayName></condition><isMultiVariationListing>false</isMultiVariationListing><discountPriceInfo><originalRetailPrice
125
125
  currencyId="USD">27.15</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item><item><itemId>110108023405</itemId><title>Hegemony
126
126
  and Socialist Strategy By Laclau, Ernesto/ Mouffe, Chantal</title><globalId>EBAY-US</globalId><subtitle>Always
127
127
  Save with UnbeatableSale!</subtitle><primaryCategory><categoryId>2228</categoryId><categoryName>Textbooks,
128
- Education</categoryName></primaryCategory><viewItemURL>http://cgi.sandbox.ebay.com/Hegemony-and-Socialist-Strategy-Laclau-Ernesto-Mouffe-Chantal-/110108023405</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
128
+ Education</categoryName></primaryCategory><viewItemURL>https://cgi.sandbox.ebay.com/Hegemony-and-Socialist-Strategy-Laclau-Ernesto-Mouffe-Chantal-/110108023405</viewItemURL><paymentMethod>PayPal</paymentMethod><autoPay>false</autoPay><postalCode>08701</postalCode><location>Lakewood,NJ,USA</location><country>US</country><shippingInfo><shippingServiceCost
129
129
  currencyId="USD">0.0</shippingServiceCost><shippingType>Free</shippingType><shipToLocations>US</shipToLocations><expeditedShipping>false</expeditedShipping><oneDayShippingAvailable>false</oneDayShippingAvailable><handlingTime>4</handlingTime></shippingInfo><sellingStatus><currentPrice
130
130
  currencyId="USD">21.52</currentPrice><convertedCurrentPrice currencyId="USD">21.52</convertedCurrentPrice><sellingState>Active</sellingState><timeLeft>P24DT21H43M33S</timeLeft></sellingStatus><listingInfo><bestOfferEnabled>false</bestOfferEnabled><buyItNowAvailable>false</buyItNowAvailable><startTime>2012-10-13T19:18:14.000Z</startTime><endTime>2014-06-05T19:23:14.000Z</endTime><listingType>FixedPrice</listingType><gift>false</gift></listingInfo><returnsAccepted>true</returnsAccepted><condition><conditionId>1000</conditionId><conditionDisplayName>Brand
131
131
  New</conditionDisplayName></condition><isMultiVariationListing>false</isMultiVariationListing><discountPriceInfo><originalRetailPrice
132
- currencyId="USD">27.15</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item></searchResult><paginationOutput><pageNumber>1</pageNumber><entriesPerPage>100</entriesPerPage><totalPages>1</totalPages><totalEntries>3</totalEntries></paginationOutput><itemSearchURL>http://shop.sandbox.ebay.com/i.html?_nkw=ernesto+laclau&amp;_ddo=1&amp;_ipg=100&amp;_pgn=1</itemSearchURL></findItemsByKeywordsResponse>
133
- http_version:
132
+ currencyId="USD">27.15</originalRetailPrice><pricingTreatment>STP</pricingTreatment><soldOnEbay>false</soldOnEbay><soldOffEbay>false</soldOffEbay></discountPriceInfo><topRatedListing>false</topRatedListing></item></searchResult><paginationOutput><pageNumber>1</pageNumber><entriesPerPage>100</entriesPerPage><totalPages>1</totalPages><totalEntries>3</totalEntries></paginationOutput><itemSearchURL>https://shop.sandbox.ebay.com/i.html?_nkw=ernesto+laclau&amp;_ddo=1&amp;_ipg=100&amp;_pgn=1</itemSearchURL></findItemsByKeywordsResponse>
133
+ http_version:
134
134
  recorded_at: Sun, 11 May 2014 21:39:40 GMT
135
135
  recorded_with: VCR 2.9.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://svcs.sandbox.ebay.com/MerchandisingService?GLOBAL-ID=EBAY-US&OPERATION-NAME=getMostWatchedItems&RESPONSE-DATA-FORMAT=JSON
5
+ uri: https://svcs.sandbox.ebay.com/MerchandisingService?GLOBAL-ID=EBAY-US&OPERATION-NAME=getMostWatchedItems&RESPONSE-DATA-FORMAT=JSON
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -12,7 +12,7 @@ http_interactions:
12
12
  response:
13
13
  status:
14
14
  code: 200
15
- message:
15
+ message:
16
16
  headers:
17
17
  Server:
18
18
  - Apache-Coyote/1.1
@@ -33,7 +33,7 @@ http_interactions:
33
33
  X-EBAY-SOA-OPERATION-NAME:
34
34
  - getMostWatchedItems
35
35
  X-EBAY-SOA-SERVICE-NAME:
36
- - "{http://www.ebay.com/marketplace/services}MerchandisingService"
36
+ - "{https://www.ebay.com/marketplace/services}MerchandisingService"
37
37
  Content-Type:
38
38
  - application/json;charset=UTF-8
39
39
  Transfer-Encoding:
@@ -43,11 +43,11 @@ http_interactions:
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: '{"getMostWatchedItemsResponse":{"ack":"Success","version":"1.5.0","timestamp":"2014-05-11T21:47:37.875Z"}}'
46
- http_version:
46
+ http_version:
47
47
  recorded_at: Sun, 11 May 2014 21:47:37 GMT
48
48
  - request:
49
49
  method: get
50
- uri: http://svcs.sandbox.ebay.com/MerchandisingService?GLOBAL-ID=EBAY-US&OPERATION-NAME=getMostWatchedItems
50
+ uri: https://svcs.sandbox.ebay.com/MerchandisingService?GLOBAL-ID=EBAY-US&OPERATION-NAME=getMostWatchedItems
51
51
  body:
52
52
  encoding: US-ASCII
53
53
  string: ''
@@ -57,7 +57,7 @@ http_interactions:
57
57
  response:
58
58
  status:
59
59
  code: 200
60
- message:
60
+ message:
61
61
  headers:
62
62
  Server:
63
63
  - Apache-Coyote/1.1
@@ -78,7 +78,7 @@ http_interactions:
78
78
  X-EBAY-SOA-OPERATION-NAME:
79
79
  - getMostWatchedItems
80
80
  X-EBAY-SOA-SERVICE-NAME:
81
- - "{http://www.ebay.com/marketplace/services}MerchandisingService"
81
+ - "{https://www.ebay.com/marketplace/services}MerchandisingService"
82
82
  Content-Type:
83
83
  - text/xml;charset=UTF-8
84
84
  Transfer-Encoding:
@@ -87,7 +87,7 @@ http_interactions:
87
87
  - Sun, 11 May 2014 21:47:37 GMT
88
88
  body:
89
89
  encoding: UTF-8
90
- string: <?xml version='1.0' encoding='UTF-8'?><getMostWatchedItemsResponse xmlns="http://www.ebay.com/marketplace/services"><ack>Success</ack><version>1.5.0</version><timestamp>2014-05-11T21:47:38.664Z</timestamp></getMostWatchedItemsResponse>
91
- http_version:
90
+ string: <?xml version='1.0' encoding='UTF-8'?><getMostWatchedItemsResponse xmlns="https://www.ebay.com/marketplace/services"><ack>Success</ack><version>1.5.0</version><timestamp>2014-05-11T21:47:38.664Z</timestamp></getMostWatchedItemsResponse>
91
+ http_version:
92
92
  recorded_at: Sun, 11 May 2014 21:47:37 GMT
93
93
  recorded_with: VCR 2.9.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductDetails&productDetailsRequest.dataset=DisplayableSearchResults&productDetailsRequest.productIdentifier.ePID=83414
5
+ uri: https://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductDetails&productDetailsRequest.dataset=DisplayableSearchResults&productDetailsRequest.productIdentifier.ePID=83414
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -12,7 +12,7 @@ http_interactions:
12
12
  response:
13
13
  status:
14
14
  code: 200
15
- message:
15
+ message:
16
16
  headers:
17
17
  Server:
18
18
  - Apache-Coyote/1.1
@@ -33,7 +33,7 @@ http_interactions:
33
33
  X-EBAY-SOA-OPERATION-NAME:
34
34
  - getProductDetails
35
35
  X-EBAY-SOA-SERVICE-NAME:
36
- - "{http://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductService"
36
+ - "{https://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductService"
37
37
  Content-Type:
38
38
  - text/xml;charset=UTF-8
39
39
  Transfer-Encoding:
@@ -42,16 +42,16 @@ http_interactions:
42
42
  - Sun, 11 May 2014 21:55:48 GMT
43
43
  body:
44
44
  encoding: UTF-8
45
- string: <?xml version='1.0' encoding='UTF-8'?><getProductDetailsResponse xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services"><ack>Success</ack><version>1.3.1</version><timestamp>2014-05-11T21:55:48.635Z</timestamp><product><productIdentifier><ePID>83414</ePID></productIdentifier><stockPhotoURL><thumbnail><value>http://i.ebayimg.com/00/$T2eC16F,!y8E9s2fjE4sBRY5q7ep6Q~~_0.JPG?set_id=89040003C1</value></thumbnail><standard><value>http://i.ebayimg.com/00/$T2eC16F,!y8E9s2fjE4sBRY5q7ep6Q~~_7.JPG?set_id=89040003C1</value></standard></stockPhotoURL><productDetails><propertyName>PRODUCT_FAMILY_ID</propertyName><value><number><value>1504161</value></number></value></productDetails><productDetails><propertyName>ISBN</propertyName><value><text><value>0231056699</value></text></value></productDetails><productDetails><propertyName>Publication
45
+ string: <?xml version='1.0' encoding='UTF-8'?><getProductDetailsResponse xmlns="https://www.ebay.com/marketplace/marketplacecatalog/v1/services"><ack>Success</ack><version>1.3.1</version><timestamp>2014-05-11T21:55:48.635Z</timestamp><product><productIdentifier><ePID>83414</ePID></productIdentifier><stockPhotoURL><thumbnail><value>https://i.ebayimg.com/00/$T2eC16F,!y8E9s2fjE4sBRY5q7ep6Q~~_0.JPG?set_id=89040003C1</value></thumbnail><standard><value>https://i.ebayimg.com/00/$T2eC16F,!y8E9s2fjE4sBRY5q7ep6Q~~_7.JPG?set_id=89040003C1</value></standard></stockPhotoURL><productDetails><propertyName>PRODUCT_FAMILY_ID</propertyName><value><number><value>1504161</value></number></value></productDetails><productDetails><propertyName>ISBN</propertyName><value><text><value>0231056699</value></text></value></productDetails><productDetails><propertyName>Publication
46
46
  Year</propertyName><value><text><value>19850000</value></text></value></productDetails><productDetails><propertyName>EAN</propertyName><value><text><value>9780231056694</value></text></value></productDetails><productDetails><propertyName>Author</propertyName><value><text><value>Gilles
47
47
  Deleuze</value></text></value></productDetails><productDetails><propertyName>CP_NAME</propertyName><value><text><value>Nietzsche
48
48
  and Philosophy by Gilles Deleuze (1985, Paperback)</value></text></value></productDetails><productDetails><propertyName>Format_Computed</propertyName><value><text><value>Trade
49
49
  Paper</value></text></value></productDetails><productStatus><excludeForeBaySelling>false</excludeForeBaySelling><excludeForeBayReviews>false</excludeForeBayReviews><excludeForHalfSelling>false</excludeForHalfSelling></productStatus><type>Member</type></product></getProductDetailsResponse>
50
- http_version:
50
+ http_version:
51
51
  recorded_at: Sun, 11 May 2014 21:55:48 GMT
52
52
  - request:
53
53
  method: get
54
- uri: http://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductDetails&RESPONSE-DATA-FORMAT=JSON&productDetailsRequest.dataset=DisplayableSearchResults&productDetailsRequest.productIdentifier.ePID=83414
54
+ uri: https://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductDetails&RESPONSE-DATA-FORMAT=JSON&productDetailsRequest.dataset=DisplayableSearchResults&productDetailsRequest.productIdentifier.ePID=83414
55
55
  body:
56
56
  encoding: US-ASCII
57
57
  string: ''
@@ -61,7 +61,7 @@ http_interactions:
61
61
  response:
62
62
  status:
63
63
  code: 200
64
- message:
64
+ message:
65
65
  headers:
66
66
  Server:
67
67
  - Apache-Coyote/1.1
@@ -82,7 +82,7 @@ http_interactions:
82
82
  X-EBAY-SOA-OPERATION-NAME:
83
83
  - getProductDetails
84
84
  X-EBAY-SOA-SERVICE-NAME:
85
- - "{http://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductService"
85
+ - "{https://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductService"
86
86
  Content-Type:
87
87
  - text/plain;charset=UTF-8
88
88
  Transfer-Encoding:
@@ -96,6 +96,6 @@ http_interactions:
96
96
  Deleuze"]}]}]},{"propertyName":["CP_NAME"],"value":[{"text":[{"value":["Nietzsche
97
97
  and Philosophy by Gilles Deleuze (1985, Paperback)"]}]}]},{"propertyName":["Format_Computed"],"value":[{"text":[{"value":["Trade
98
98
  Paper"]}]}]}],"productStatus":[{"excludeForeBaySelling":["false"],"excludeForeBayReviews":["false"],"excludeForHalfSelling":["false"]}],"type":["Member"]}]}]}'
99
- http_version:
99
+ http_version:
100
100
  recorded_at: Sun, 11 May 2014 22:04:08 GMT
101
101
  recorded_with: VCR 2.9.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductMetadataService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductSearchDataVersion&categoryId=123
5
+ uri: https://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductMetadataService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductSearchDataVersion&categoryId=123
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -12,7 +12,7 @@ http_interactions:
12
12
  response:
13
13
  status:
14
14
  code: 200
15
- message:
15
+ message:
16
16
  headers:
17
17
  Server:
18
18
  - Apache-Coyote/1.1
@@ -33,7 +33,7 @@ http_interactions:
33
33
  X-EBAY-SOA-OPERATION-NAME:
34
34
  - getProductSearchDataVersion
35
35
  X-EBAY-SOA-SERVICE-NAME:
36
- - "{http://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductMetadataService"
36
+ - "{https://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductMetadataService"
37
37
  Content-Type:
38
38
  - text/xml;charset=UTF-8
39
39
  Transfer-Encoding:
@@ -43,13 +43,13 @@ http_interactions:
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: <?xml version='1.0' encoding='UTF-8'?><getProductSearchDataVersionResponse
46
- xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services"><ack>Failure</ack><errorMessage><error><errorId>28</errorId><domain>Marketplace</domain><severity>Error</severity><category>System</category><message>Category
46
+ xmlns="https://www.ebay.com/marketplace/marketplacecatalog/v1/services"><ack>Failure</ack><errorMessage><error><errorId>28</errorId><domain>Marketplace</domain><severity>Error</severity><category>System</category><message>Category
47
47
  ID, 123, is invalid.</message><subdomain>MarketplaceCatalog</subdomain><parameter>123</parameter></error></errorMessage><version>1.6.0</version><timestamp>2014-05-11T22:05:10.104Z</timestamp></getProductSearchDataVersionResponse>
48
- http_version:
48
+ http_version:
49
49
  recorded_at: Sun, 11 May 2014 22:05:09 GMT
50
50
  - request:
51
51
  method: get
52
- uri: http://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductMetadataService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductSearchDataVersion&RESPONSE-DATA-FORMAT=JSON&categoryId=123
52
+ uri: https://svcs.sandbox.ebay.com/services/marketplacecatalog/ProductMetadataService/v1?GLOBAL-ID=EBAY-US&OPERATION-NAME=getProductSearchDataVersion&RESPONSE-DATA-FORMAT=JSON&categoryId=123
53
53
  body:
54
54
  encoding: US-ASCII
55
55
  string: ''
@@ -59,7 +59,7 @@ http_interactions:
59
59
  response:
60
60
  status:
61
61
  code: 200
62
- message:
62
+ message:
63
63
  headers:
64
64
  Server:
65
65
  - Apache-Coyote/1.1
@@ -80,7 +80,7 @@ http_interactions:
80
80
  X-EBAY-SOA-OPERATION-NAME:
81
81
  - getProductSearchDataVersion
82
82
  X-EBAY-SOA-SERVICE-NAME:
83
- - "{http://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductMetadataService"
83
+ - "{https://www.ebay.com/marketplace/marketplacecatalog/v1/services}ProductMetadataService"
84
84
  Content-Type:
85
85
  - text/plain;charset=UTF-8
86
86
  Transfer-Encoding:
@@ -91,6 +91,6 @@ http_interactions:
91
91
  encoding: UTF-8
92
92
  string: '{"getProductSearchDataVersionResponse":[{"ack":["Failure"],"errorMessage":[{"error":[{"errorId":["28"],"domain":["Marketplace"],"severity":["Error"],"category":["System"],"message":["Category
93
93
  ID, 123, is invalid."],"subdomain":["MarketplaceCatalog"],"parameter":["123"]}]}],"version":["1.6.0"],"timestamp":["2014-05-11T22:06:11.760Z"]}]}'
94
- http_version:
94
+ http_version:
95
95
  recorded_at: Sun, 11 May 2014 22:06:11 GMT
96
96
  recorded_with: VCR 2.9.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://open.api.sandbox.ebay.com/shopping?CALLNAME=FindHalfProducts&QueryKeywords=ernesto+laclau
5
+ uri: https://open.api.sandbox.ebay.com/shopping?CALLNAME=FindHalfProducts&QueryKeywords=ernesto+laclau
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -14,7 +14,7 @@ http_interactions:
14
14
  response:
15
15
  status:
16
16
  code: 200
17
- message:
17
+ message:
18
18
  headers:
19
19
  Content-Type:
20
20
  - text/xml;charset=utf-8
@@ -51,8 +51,8 @@ http_interactions:
51
51
  \ <MoreResults>true</MoreResults>\n <TotalProducts>42</TotalProducts>\n
52
52
  \ <Products>\n <Product>\n <Title>Hegemony and Socialist Strategy
53
53
  : Towards a Radical Democratic Politics by Ernesto Laclau and Chantal Mouffe
54
- (1985, Paperback)</Title>\n <DetailsURL>http://syicatalogs.sandbox.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&amp;IncludeAttributes=1&amp;ShowAttributesTable=1&amp;ProductMementoString=116501:2:1055:1801344777:636461977:f037f5013398147917ef7356f3f28683:1:1:1:411300</DetailsURL>\n
55
- \ <StockPhotoURL>http://i.ebayimg.com/00/$T2eC16dHJG8E9nyfpmrQBRVzID0nGw~~_6.JPG?set_id=89040003C1</StockPhotoURL>\n
54
+ (1985, Paperback)</Title>\n <DetailsURL>https://syicatalogs.sandbox.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&amp;IncludeAttributes=1&amp;ShowAttributesTable=1&amp;ProductMementoString=116501:2:1055:1801344777:636461977:f037f5013398147917ef7356f3f28683:1:1:1:411300</DetailsURL>\n
55
+ \ <StockPhotoURL>https://i.ebayimg.com/00/$T2eC16dHJG8E9nyfpmrQBRVzID0nGw~~_6.JPG?set_id=89040003C1</StockPhotoURL>\n
56
56
  \ <DisplayStockPhotos>true</DisplayStockPhotos>\n <ItemCount>0</ItemCount>\n
57
57
  \ <ProductID type=\"Reference\">308707</ProductID>\n <ProductID type=\"ISBN\">086091769X</ProductID>\n
58
58
  \ <ProductID type=\"ISBN\">9780860917694</ProductID>\n <DomainName>Textbooks,
@@ -65,13 +65,13 @@ http_interactions:
65
65
  \ </NameValueList>\n <NameValueList>\n <Name>Language</Name>\n
66
66
  \ <Value>English</Value>\n </NameValueList>\n </ItemSpecifics>\n
67
67
  \ <ReviewCount>0</ReviewCount>\n <MinPrice currencyID=\"USD\">5.08</MinPrice>\n
68
- \ </Product>\n </Products>\n <ProductSearchURL>http://search.half.sandbox.ebay.com/ernesto-laclau</ProductSearchURL>\n
68
+ \ </Product>\n </Products>\n <ProductSearchURL>https://search.half.sandbox.ebay.com/ernesto-laclau</ProductSearchURL>\n
69
69
  \ </FindHalfProductsResponse>\n "
70
- http_version:
70
+ http_version:
71
71
  recorded_at: Sun, 11 May 2014 21:37:29 GMT
72
72
  - request:
73
73
  method: get
74
- uri: http://open.api.sandbox.ebay.com/shopping?CALLNAME=FindHalfProducts&QueryKeywords=ernesto+laclau&RESPONSEENCODING=JSON
74
+ uri: https://open.api.sandbox.ebay.com/shopping?CALLNAME=FindHalfProducts&QueryKeywords=ernesto+laclau&RESPONSEENCODING=JSON
75
75
  body:
76
76
  encoding: US-ASCII
77
77
  string: ''
@@ -83,7 +83,7 @@ http_interactions:
83
83
  response:
84
84
  status:
85
85
  code: 200
86
- message:
86
+ message:
87
87
  headers:
88
88
  Content-Type:
89
89
  - text/plain;charset=utf-8
@@ -115,11 +115,11 @@ http_interactions:
115
115
  encoding: UTF-8
116
116
  string: '{"Timestamp":"2014-05-11T21:37:30.721Z","Ack":"Success","Build":"E867_CORE_APILW2_16754878_R1","Version":"867","PageNumber":1,"ApproximatePages":42,"MoreResults":true,"TotalProducts":42,"Products":{"Product":[{"Title":"Hegemony
117
117
  and Socialist Strategy : Towards a Radical Democratic Politics by Ernesto
118
- Laclau and Chantal Mouffe (1985, Paperback)","DetailsURL":"http://syicatalogs.sandbox.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&IncludeAttributes=1&ShowAttributesTable=1&ProductMementoString=116501:2:1055:1801344777:636461977:f037f5013398147917ef7356f3f28683:1:1:1:411300","StockPhotoURL":"http://i.ebayimg.com/00/$T2eC16dHJG8E9nyfpmrQBRVzID0nGw~~_6.JPG?set_id=89040003C1","DisplayStockPhotos":true,"ItemCount":0,"ProductID":[{"Value":"308707","Type":"Reference"},{"Value":"086091769X","Type":"ISBN"},{"Value":"9780860917694","Type":"ISBN"}],"DomainName":"Textbooks,
118
+ Laclau and Chantal Mouffe (1985, Paperback)","DetailsURL":"https://syicatalogs.sandbox.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&IncludeAttributes=1&ShowAttributesTable=1&ProductMementoString=116501:2:1055:1801344777:636461977:f037f5013398147917ef7356f3f28683:1:1:1:411300","StockPhotoURL":"https://i.ebayimg.com/00/$T2eC16dHJG8E9nyfpmrQBRVzID0nGw~~_6.JPG?set_id=89040003C1","DisplayStockPhotos":true,"ItemCount":0,"ProductID":[{"Value":"308707","Type":"Reference"},{"Value":"086091769X","Type":"ISBN"},{"Value":"9780860917694","Type":"ISBN"}],"DomainName":"Textbooks,
119
119
  Education","ItemSpecifics":{"NameValueList":[{"Name":"Publisher","Value":["Verso
120
120
  Books"]},{"Name":"Author","Value":["Chantal Mouffe","Ernesto Laclau"]},{"Name":"Title","Value":["Hegemony
121
121
  and Socialist Strategy : Towards a Radical Democratic Politics by Ernesto
122
- Laclau and Chantal Mouffe (1985, Paperback)"]},{"Name":"Language","Value":["English"]}]},"ReviewCount":0,"MinPrice":{"Value":5.08,"CurrencyID":"USD"}}]},"ProductSearchURL":"http://search.half.sandbox.ebay.com/ernesto-laclau"}'
123
- http_version:
122
+ Laclau and Chantal Mouffe (1985, Paperback)"]},{"Name":"Language","Value":["English"]}]},"ReviewCount":0,"MinPrice":{"Value":5.08,"CurrencyID":"USD"}}]},"ProductSearchURL":"https://search.half.sandbox.ebay.com/ernesto-laclau"}'
123
+ http_version:
124
124
  recorded_at: Sun, 11 May 2014 21:37:29 GMT
125
125
  recorded_with: VCR 2.9.0
data/test/helper.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  require 'minitest/autorun'
2
- require 'minitest/emoji'
3
- require 'pry'
4
2
  require 'vcr'
5
3
 
6
4
  VCR.configure do |c|
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ebay-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2020-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: multi_xml
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.5.5
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.5.5
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: excon
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -39,19 +25,19 @@ dependencies:
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0.33'
41
27
  - !ruby/object:Gem::Dependency
42
- name: pry
28
+ name: multi_xml
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - "~>"
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
- version: 0.9.12
48
- type: :development
33
+ version: 0.5.5
34
+ type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - "~>"
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
- version: 0.9.12
40
+ version: 0.5.5
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,20 +66,6 @@ dependencies:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '5.3'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest-emoji
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '2.0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '2.0'
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: vcr
99
71
  requirement: !ruby/object:Gem::Requirement
@@ -162,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
134
  - !ruby/object:Gem::Version
163
135
  version: '0'
164
136
  requirements: []
165
- rubyforge_project:
166
- rubygems_version: 2.2.2
137
+ rubygems_version: 3.1.2
167
138
  signing_key:
168
139
  specification_version: 4
169
140
  summary: A Ruby wrapper to the eBay Web Services API