agent_cooper 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -1
- data/README.md +13 -4
- data/Rakefile +0 -3
- data/agent_cooper.gemspec +12 -13
- data/features/finder.feature +4 -6
- data/features/merchandiser.feature +1 -2
- data/features/shopper.feature +2 -2
- data/features/support/env.rb +5 -5
- data/features/support/vcr.rb +10 -0
- data/lib/agent_cooper.rb +17 -4
- data/lib/agent_cooper/config.rb +3 -9
- data/lib/agent_cooper/nokogiri_decorator.rb +47 -0
- data/lib/agent_cooper/request.rb +36 -13
- data/lib/agent_cooper/requests/finder.rb +25 -0
- data/lib/agent_cooper/requests/merchandiser.rb +25 -0
- data/lib/agent_cooper/requests/shopper.rb +23 -0
- data/lib/agent_cooper/response.rb +3 -4
- data/lib/agent_cooper/synchrony.rb +34 -0
- data/lib/agent_cooper/version.rb +1 -1
- data/spec/agent_cooper/request_spec.rb +91 -6
- data/spec/agent_cooper/requests/finder_spec.rb +13 -0
- data/spec/agent_cooper/requests/merchandiser_spec.rb +13 -0
- data/spec/agent_cooper/requests/shopper_spec.rb +13 -0
- data/spec/agent_cooper/response_spec.rb +51 -1
- data/spec/agent_cooper_spec.rb +12 -0
- data/spec/fixtures/cassettes/finder/find_items_advanced/d49218a9522a4a055e31fc6b88c3a2b5.yml +528 -0
- data/spec/fixtures/cassettes/finder/find_items_by_category/85e07de9993e68d09e895f1b01234c5a.yml +463 -0
- data/spec/fixtures/cassettes/finder/find_items_by_keywords/91d7d9b4b62b82877604465a20f9ffa9.yml +668 -0
- data/spec/fixtures/cassettes/finder/find_items_by_product/59ee1391b6dfc2a93e30c8911942fc71.yml +744 -0
- data/spec/fixtures/cassettes/finder/find_items_in_ebay_stores/c7d658804b6353fda03809c21b183af2.yml +472 -0
- data/spec/fixtures/cassettes/finder/get_histograms/80bd04d96cd529af4148866a2d28f079.yml +46 -0
- data/spec/fixtures/cassettes/finder/get_search_keywords_recommendation/ec96bf3af091373de08550ff46f86c87.yml +41 -0
- data/spec/fixtures/cassettes/merchandiser/get_most_watched_items/3c0cb6fb7bb94b384cae15be175e9640.yml +51 -0
- data/spec/fixtures/cassettes/merchandiser/get_related_category_items/c949e90fb2bd975020df657a4348328d.yml +41 -0
- data/spec/fixtures/cassettes/merchandiser/get_similar_items/56c2c41a60135db83d359053778a065f.yml +41 -0
- data/spec/fixtures/cassettes/merchandiser/get_top_selling_products/a82dcb1f094754e54f2a5de191818c3f.yml +53 -0
- data/spec/fixtures/cassettes/shopper/find_half_products/77ad8a2ade8e4efadef07346677e43a9.yml +55 -0
- data/spec/fixtures/cassettes/shopper/find_popular_items/532fcb32fee187bdc6cc5fb7e4336992.yml +258 -0
- data/spec/fixtures/cassettes/shopper/find_popular_searches/6db9b375ea610e870e7a4ca4e20974ec.yml +45 -0
- data/spec/fixtures/cassettes/shopper/find_products/3fd6d6000037cd409ab1ef18a6075257.yml +52 -0
- data/spec/fixtures/cassettes/shopper/find_reviews_and_guides/8586a984e122cb84136d3cc0bb8bec77.yml +174 -0
- data/spec/fixtures/cassettes/shopper/get_item_status/f34cf10c602f9fec7a388297888b4299.yml +45 -0
- data/spec/fixtures/cassettes/shopper/get_multiple_items/c1183c23add6cad9afbb73f986c2692e.yml +46 -0
- data/spec/fixtures/cassettes/shopper/get_shipping_costs/e7de18031f266637414155639797c097.yml +45 -0
- data/spec/fixtures/cassettes/shopper/get_single_item/d4a895de6b214907c47a0b32ab630b9a.yml +44 -0
- data/spec/fixtures/cassettes/shopper/get_user_profile/dccabbf426bfeba4d898ca546e17dd4b.yml +47 -0
- data/spec/{support → fixtures}/ebay.yml.sample +0 -0
- data/spec/spec_helper.rb +4 -0
- metadata +141 -177
- data/lib/agent_cooper/finder.rb +0 -21
- data/lib/agent_cooper/merchandiser.rb +0 -24
- data/lib/agent_cooper/shopper.rb +0 -22
- data/spec/agent_cooper/config_spec.rb +0 -21
- data/spec/agent_cooper/finder_spec.rb +0 -19
- data/spec/agent_cooper/merchandiser_spec.rb +0 -18
- data/spec/agent_cooper/shopper_spec.rb +0 -18
data/spec/fixtures/cassettes/shopper/find_popular_searches/6db9b375ea610e870e7a4ca4e20974ec.yml
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=FindPopularSearches&QueryKeywords=dell&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdDdlaHFg
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dW0ucm83Nyg2MWE8MjQ1Kjc3LTMoNjQ2KDMwPz43OzU=
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:5CD0BB9874BFF7D9EB27285028377285391969966676
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <FindPopularSearchesResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:12.577Z</Timestamp>\n
|
39
|
+
\ <Ack>Success</Ack>\n <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
40
|
+
\ <PopularSearchResult>\n <QueryKeywords>dell</QueryKeywords>\n <AlternativeSearches>dell
|
41
|
+
laptop;dell desktop;laptop;dell xps;dell inspiron</AlternativeSearches>\n <RelatedSearches>hp;dell
|
42
|
+
axim x30;dell latitude;acer;dell phone;dell optiplex;alienware laptop;dell precision;dell
|
43
|
+
tablet;dell pc;dell lot;alienware;dell tower;compaq;dell printer</RelatedSearches>\n
|
44
|
+
\ </PopularSearchResult>\n </FindPopularSearchesResponse>\n "
|
45
|
+
http_version: '1.1'
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=FindProducts&QueryKeywords=harry%20potter&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdDdlaHFg
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dW0ucm43Nyg/MzZxcXNiKjc3LTMoMTorPjM5PTY/Mw==
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:0818EFD69DD414CBF6269545847914785511118903125
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:11 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <FindProductsResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:12.285Z</Timestamp>\n
|
39
|
+
\ <Ack>Success</Ack>\n <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
40
|
+
\ <ApproximatePages>1170</ApproximatePages>\n <MoreResults>true</MoreResults>\n
|
41
|
+
\ <PageNumber>1</PageNumber>\n <Product>\n <DomainName>DVDs</DomainName>\n
|
42
|
+
\ <DetailsURL>http://syicatalogs.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&IncludeAttributes=1&ShowAttributesTable=1&ProductMementoString=115979:2:1049:1597262630:336208740:1b8ed71676cebc1fb9211d3c1eee0b4a:1:1:1:1415162318</DetailsURL>\n
|
43
|
+
\ <DisplayStockPhotos>true</DisplayStockPhotos>\n <ProductID type=\"Reference\">99846530</ProductID>\n
|
44
|
+
\ <ProductID type=\"UPC\">883929139446</ProductID>\n <ItemSpecifics>\n
|
45
|
+
\ <NameValueList>\n <Name>Format</Name>\n <Value>DVD</Value>\n
|
46
|
+
\ </NameValueList>\n <NameValueList>\n <Name>Rating</Name>\n <Value>PG-13</Value>\n
|
47
|
+
\ </NameValueList>\n <NameValueList>\n <Name>Leading Role</Name>\n
|
48
|
+
\ </NameValueList>\n </ItemSpecifics>\n <ReviewCount>84</ReviewCount>\n
|
49
|
+
\ <StockPhotoURL>http://i.ebayimg.com/00/$(KGrHqF,!l0E2DwP)(v!BNo16imfYQ~~_6.JPG?set_id=89040003C1</StockPhotoURL>\n
|
50
|
+
\ <Title>Harry Potter and the Deathly Hallows: Part I (DVD, 2011)</Title>\n
|
51
|
+
\ </Product>\n <TotalProducts>1170</TotalProducts>\n </FindProductsResponse>\n "
|
52
|
+
http_version: '1.1'
|
data/spec/fixtures/cassettes/shopper/find_reviews_and_guides/8586a984e122cb84136d3cc0bb8bec77.yml
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=FindReviewsAndGuides&CategoryID=177&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdDdlaHFg
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dW0ucm83Nyg2MTY0MzIzKjc3LTMoNjQ2KDU0Pz43OzU=
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:5CD0BB9874BFF7D9EB2728502858908350760218944
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <FindReviewsAndGuidesResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:12.926Z</Timestamp>\n
|
39
|
+
\ <Ack>Success</Ack>\n <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
40
|
+
\ <BuyingGuideCount>596</BuyingGuideCount>\n <ReviewsAndGuidesURL>http://search.reviews.ebay.com/_PC+Laptops+%26+Netbooks_W0QQuqtZgQQucatZ177</ReviewsAndGuidesURL>\n
|
41
|
+
\ <PageNumber>1</PageNumber>\n <TotalPages>120</TotalPages>\n <BuyingGuideDetails>\n
|
42
|
+
\ <BuyingGuide>\n <Name>Laptops</Name>\n <URL>http://reviews.ebay.com/Laptops-Buying-Guide_W0QQugidZ10000000000025018</URL>\n
|
43
|
+
\ <CategoryID>177</CategoryID>\n <Title>Laptops Buying Guide</Title>\n
|
44
|
+
\ <Text><html><a name="top"></a><head>\n
|
45
|
+
\ <meta http-equiv="Content-Type" content="text/html;
|
46
|
+
charset=ISO-8859-1">\n <title>eBay Guides - Laptops Buying Guide</title><meta
|
47
|
+
name="keywords" content="laptops, notebooks, dell laptops, ultraportable,
|
48
|
+
ibook, powerbook&nbsp;"><meta name="description" content="Learn
|
49
|
+
about&nbsp;laptops&nbsp;and notebooks for work or home. Use eBay's
|
50
|
+
Laptops Buying Guide to inform your next purchase! "><script type="text/javascript">var
|
51
|
+
pageName = "Reviews_guide_view_eBay";</script><!--GuideSummary:
|
52
|
+
\n Laptop computers, also called notebooks, give you the freedom
|
53
|
+
to take your computer into different rooms and on the road. Students, frequent
|
54
|
+
travelers, and people looking for a small, portable second computer love these
|
55
|
+
alternatives --></head><body><script language="javascript"
|
56
|
+
type="text/javascript"><!--\n\t\t\t\t\tvar isXconPage = "This
|
57
|
+
is an xCon page\\nasset id: eBayGuides.BuyingGuides.CN_LaptopComputer";\n\t\t\t\t//--></script><div
|
58
|
+
id="HelpHeader"><!--H=header1_0--><link rel="stylesheet"
|
59
|
+
type="text/css" href="http://include.ebaystatic.com/v4css/en_US_MAIN/v/GlobalNav_EbayStatic_v_en_US_MAIN.css"><!--cacheStatus:
|
60
|
+
true--><script src="http://include.ebaystatic.com/v4js/en_US_MAIN/v/GlobalNav_EbayStatic_v_1_en_US_MAIN.js"></script><script
|
61
|
+
type="text/javascript">function jsEvt0() {\n}\njsEvt0.prototype.handle
|
62
|
+
= function(event) { \noRegistry.get('playground').show();\n};\n\n</script><script
|
63
|
+
type="text/javascript">eventDispatcher.attachHandlerToElement('body','onload',new
|
64
|
+
jsEvt0());\n\n</script><span class="ebay"><div id="gnheader"
|
65
|
+
clas...</Text>\n <CreationTime>2005-10-13T10:14:38.000Z</CreationTime>\n
|
66
|
+
\ </BuyingGuide>\n <BuyingGuide>\n <Name>Laptops</Name>\n <URL>http://reviews.ebay.com/Laptops-Buying-Guide_W0QQugidZ10000000000000932</URL>\n
|
67
|
+
\ <CategoryID>177</CategoryID>\n <Title>Laptops Buying Guide</Title>\n
|
68
|
+
\ <Text><html xmlns:xsd="http://www.w3.org/2001/XMLSchema"><a
|
69
|
+
name="top"></a><head>\n <meta http-equiv="Content-Type"
|
70
|
+
content="text/html; charset=ISO-8859-1">\n <title>Laptops
|
71
|
+
Buying Guide </title><meta name="keywords" content="laptops,
|
72
|
+
notebooks, dell laptops, ultraportable, ibook, powerbook&nbsp;"><meta
|
73
|
+
name="description" content="Learn about&nbsp;laptops&nbsp;and
|
74
|
+
notebooks for work or home. Use eBay's Laptops Buying Guide to inform your
|
75
|
+
next purchase! "><!--GuideSummary: Laptop computers, also called
|
76
|
+
notebooks, give you the freedom to take your computer into different rooms and
|
77
|
+
on the road. Students, frequent travelers, and people looking for a small, portable
|
78
|
+
second computer love these alternatives to desktop PCs. P--></head><body><noscript><link
|
79
|
+
rel="stylesheet" type="text/css" href="http://include.ebaystatic.com/aw/pics/css/ebay.css"></noscript><script
|
80
|
+
type="text/javascript" language="JavaScript1.1">includeHost
|
81
|
+
= 'http://include.ebaystatic.com/';</script><script src="http://include.ebaystatic.com/js/v/us/ebaybase.js"></script><script
|
82
|
+
src="http://include.ebaystatic.com/js/v/us/ebaysup.js"></script><script
|
83
|
+
type="text/javascript" language="JavaScript1.1">\n\t\t\tebay.oDocument._getControl("headerCommon")._exec("writeStyleSheet");\n\t\t</script><script
|
84
|
+
type="text/javascript" language="JavaScript1.1">\n\t\t\tebay.oDocument._getControlEx("cobrandCollection")._exec("writeHeader");\n\t\t</script><span
|
85
|
+
class="ebay"><form class="nomargin" method="get"
|
86
|
+
name="headerSearch" onsubmit="ebay.oDocument._getControl('searchHeader')._...</Text>\n
|
87
|
+
\ <CreationTime>2005-09-22T20:41:32.000Z</CreationTime>\n </BuyingGuide>\n
|
88
|
+
\ <BuyingGuide>\n <Name>How to buy a noteboo...</Name>\n <URL>http://reviews.ebay.com/How-to-buy-a-notebook-computer_W0QQugidZ10000000000068196</URL>\n
|
89
|
+
\ <CategoryID>177</CategoryID>\n <Title>How to buy a notebook computer.</Title>\n
|
90
|
+
\ <Text>(1)&nbsp;&nbsp; &nbsp;Before you buy&nbsp;a computer
|
91
|
+
you need to decide what your needs are. The first decision is whether you want
|
92
|
+
to buy a <SPAN style="FONT-WEIGHT: bold">Desktop Computer</SPAN>
|
93
|
+
or a <SPAN style="FONT-WEIGHT: bold">Notebook Computer</SPAN>.
|
94
|
+
If you've already decided on getting a notebook computer, then you need
|
95
|
+
to decide on the type of notebook computer. There are 3 main types of notebooks:
|
96
|
+
<BR>A) <SPAN style="FONT-WEIGHT: bold">All-Purpose Notebooks</SPAN>
|
97
|
+
(these are the middle of the road type, not too big or too small, not really
|
98
|
+
heavy or really light <BR>B) <SPAN style="FONT-WEIGHT: bold">Desktop
|
99
|
+
Replacement Notebooks</SPAN> (these are bigger and heavier than the All-Purpose
|
100
|
+
type notebooks, Desktop replacement notebooks have the biggest screens and keyboards
|
101
|
+
but are somewhat heavy, not something you'd want to be carrying around
|
102
|
+
every day). <BR>C) <SPAN style="FONT-WEIGHT: bold">Ultraportable
|
103
|
+
Notebooks</SPAN>: These are the lightest and most portable type of notebooks.
|
104
|
+
They are designed for people that carry the notebook with them almost every
|
105
|
+
day. The disadvantages are the screen can be hard to read and the keyboard can
|
106
|
+
be cramped. Also, the price for these can be a bit higher for the similar features.
|
107
|
+
This is because the portability of these light notebooks is highly prized by
|
108
|
+
many. <BR><BR>(2) I used to always buy a desktop computer because
|
109
|
+
for a given amount of money you could buy a faster computer or one that stored
|
110
|
+
more information by buying a desktop instead of a notebook. Portability was
|
111
|
+
not a factor for me until I moved overseas. It was impractical to bring a desktop
|
112
|
+
computer from the US, so I decided to buy a notebook computer. Since I would
|
113
|
+
not be moving the notebook often, I chose to get a desktop replacement notebook.
|
114
|
+
The ability to pick up the whole computer and put i...</Text>\n <CreationTime>2005-11-20T09:31:23.000Z</CreationTime>\n
|
115
|
+
\ <UserID>danielnyc</UserID>\n </BuyingGuide>\n <BuyingGuide>\n <Name>Simple
|
116
|
+
Laptop Buying...</Name>\n <URL>http://reviews.ebay.com/Simple-Laptop-Buying-Numbers-Aren-apos-t-Everything_W0QQugidZ10000000000790441</URL>\n
|
117
|
+
\ <CategoryID>177</CategoryID>\n <Title>Simple Laptop Buying: Numbers
|
118
|
+
Aren't Everything</Title>\n <Text>I started out looking for a laptop
|
119
|
+
for school: I gave myself a budget and said to myself, "Buy the best laptop
|
120
|
+
for the money." That shouldn't be hard, I figured. Just compare the
|
121
|
+
numbers in speed and memory. Unfortunately, numbers aren't everything,
|
122
|
+
and some numbers are more important than you would think. Here are the basics
|
123
|
+
for non-computer-geeks about what I learned. <br><br>April 11, 2007:
|
124
|
+
Please note that this guide was written in early 2006 and is directed mostly
|
125
|
+
towards Windows XP or earlier laptops. However, this information will give you
|
126
|
+
a very solid start even if you are looking for the latest and greatest. I will
|
127
|
+
update this guide in a year or two when I upgrade to a Vista laptop... what
|
128
|
+
is top-of-the-line today will be very affordable (and still current) tomorrow!<br><br>*
|
129
|
+
<span style="font-weight: bold;">Processor Speed</span>:
|
130
|
+
This is usually given in GHz (1GHz is 1000 MHz). This is a good indication of
|
131
|
+
how fast a computer is with a given processor. Unfortunately, this is useless
|
132
|
+
for comparing the speed for computers with different processors. For a certain
|
133
|
+
computer speed, the processor with the least GHz usually takes less battery
|
134
|
+
power and produces less heat.<br><br>* <span style="font-weight:
|
135
|
+
bold;">Processor</span>: This is a good indication of how new
|
136
|
+
and fast a computer is, and gives the speed in GHz between different models
|
137
|
+
of a processor. Up-to-date processors include AMD Athlon, Pentium 4, Pentium
|
138
|
+
Celeron, and Pentium M. Of the four, Pentium M is fastest for a given GHz rating,
|
139
|
+
and as of 2006 is a very safe bet. In terms of comparing AMD Athlons and Intel
|
140
|
+
Pentiums, I doubt there is an exact formula - each processor has to be compared
|
141
|
+
separately. I just decided to go with the Pentium M, as it is more popular and
|
142
|
+
gives me more options (but see below in the "advanced stuff").<br><br>-
|
143
|
+
Centrino: This is a common label emphasize...</Text>\n <CreationTime>2006-03-12T03:06:34.000Z</CreationTime>\n
|
144
|
+
\ <UserID>oprya001</UserID>\n </BuyingGuide>\n <BuyingGuide>\n <Name>Best
|
145
|
+
Laptops 2006 - ...</Name>\n <URL>http://reviews.ebay.com/Best-Laptops-2006-Buying-Guide_W0QQugidZ10000000001420898</URL>\n
|
146
|
+
\ <CategoryID>177</CategoryID>\n <Title>Best Laptops 2006 - Buying Guide</Title>\n
|
147
|
+
\ <Text><h2 style="margin-left: 40px;">Best Laptops of 2006<br></h2>Of
|
148
|
+
course, everyone is entitled to bias when it comes to picking their laptop.
|
149
|
+
I have bought and sold laptops and work as an IT professional. Here are my take
|
150
|
+
on buying a laptop in 2006.&nbsp; Believe it or not, there are currently
|
151
|
+
about a dozen primary laptop groups that are suitable to various people. I've
|
152
|
+
seen many people frustrate over their laptop performance, it is usually because
|
153
|
+
they bought the wrong one to begin with.<br><br>First thing on most
|
154
|
+
IT professionals' minds in 2006 is Windows Vista. The much anticipated
|
155
|
+
new version of Windows from Microsoft that is rumored to revolutionize Windows
|
156
|
+
computing (it took them about 6+ years to produce it versus the 2 to 3 years
|
157
|
+
between the previous Windows). We are all skeptics about Vista's performance
|
158
|
+
on current hardware, if I can put it in layman's terms: don't wait.
|
159
|
+
Just buy a solid machine today while the sales are going on. Here's why
|
160
|
+
you shouldn't wait: the new releases of Windows are always buggy and not
|
161
|
+
refined, it took Windows XP a few years to mature. Technology gets cheaper by
|
162
|
+
the day, if you keep waiting, you don't have anything to use, just buy
|
163
|
+
something and don't envy new technology. Vista is far away from being the
|
164
|
+
best.<br><br>Second thing is eBay, with a big decisions like dropping
|
165
|
+
2 grand on a laptop, spend a little extra to make sure you're buying from
|
166
|
+
a reputable seller with some sort of buyer protection. I've been ripped
|
167
|
+
off on eBay many a times. Don't let it happen! No one will hear your cries.<br><br>Now
|
168
|
+
let's get down to business and talk about brand names:<br><br>There
|
169
|
+
are many brands to begin with, most of them offer similar specs.<br><br>Most
|
170
|
+
popular laptop brands are (in no particular order): Dell, Apple, Lenovo (IBM
|
171
|
+
Thinkpad), HP, Fujitsu, Sony, Gateway, Alienware, Acer, and ...</Text>\n <CreationTime>2006-07-20T20:33:38.000Z</CreationTime>\n
|
172
|
+
\ <UserID>aquacs</UserID>\n </BuyingGuide>\n <BuyingGuideHub>http://search.reviews.ebay.com/_PC-Laptops-Netbooks_W0QQucatZ177QQuqtZg</BuyingGuideHub>\n
|
173
|
+
\ </BuyingGuideDetails>\n </FindReviewsAndGuidesResponse>\n "
|
174
|
+
http_version: '1.1'
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=GetItemStatus&ItemID=110089122715&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdGZpdWY=
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dW0ucnA3MyhgNWU2MDRmKjc3LTQ3KTc3KDUyMTw/Mz02
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:6474491A39FA1E55992798996069531006081665340
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <GetItemStatusResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:12.274Z</Timestamp>\n
|
39
|
+
\ <Ack>Failure</Ack>\n <Errors>\n <ShortMessage>Invalid item ID.</ShortMessage>\n
|
40
|
+
\ <LongMessage>Invalid or non-existent item ID.</LongMessage>\n <ErrorCode>10.12</ErrorCode>\n
|
41
|
+
\ <SeverityCode>Error</SeverityCode>\n <ErrorParameters ParamID=\"0\">\n
|
42
|
+
\ <Value>110089122715</Value>\n </ErrorParameters>\n <ErrorClassification>RequestError</ErrorClassification>\n
|
43
|
+
\ </Errors>\n <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
44
|
+
\ </GetItemStatusResponse>\n "
|
45
|
+
http_version: '1.1'
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=GetMultipleItems&ItemID=190000456297,280000052600,9600579283&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdGZpdWY=
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dWsucnA3MygxPjtjMWVgKjc3LTw2KTIzPik7MTw/Mz02
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:0818EFD69DD414CBF6269545852485728101187420567
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:11 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <GetMultipleItemsResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:12.436Z</Timestamp>\n
|
39
|
+
\ <Ack>Failure</Ack>\n <Errors>\n <ShortMessage>Invalid item ID.</ShortMessage>\n
|
40
|
+
\ <LongMessage>Invalid or non-existent item ID.</LongMessage>\n <ErrorCode>10.12</ErrorCode>\n
|
41
|
+
\ <SeverityCode>Error</SeverityCode>\n <ErrorParameters ParamID=\"0\">\n
|
42
|
+
\ <Value>9600579283,190000456297,280000052600</Value>\n </ErrorParameters>\n
|
43
|
+
\ <ErrorClassification>RequestError</ErrorClassification>\n </Errors>\n
|
44
|
+
\ <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
45
|
+
\ </GetMultipleItemsResponse>\n "
|
46
|
+
http_version: '1.1'
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=GetShippingCosts&DestinationCountryCode=US&DestinationPostalCode=98122&ItemID=110089122715&QuantitySold=1&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:11 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdGZpdWY=
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dm8ucm83Nyg2MWRiNzI2Kjc3LTQyKTA1KDYwMzw/Mz02
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:5CD0BB9874BFF7D9EB27285028133348264-1387613499
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:11 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <GetShippingCostsResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:11.903Z</Timestamp>\n
|
39
|
+
\ <Ack>Failure</Ack>\n <Errors>\n <ShortMessage>Invalid item ID.</ShortMessage>\n
|
40
|
+
\ <LongMessage>Invalid or non-existent item ID.</LongMessage>\n <ErrorCode>10.12</ErrorCode>\n
|
41
|
+
\ <SeverityCode>Error</SeverityCode>\n <ErrorParameters ParamID=\"0\">\n
|
42
|
+
\ <Value>110089122715</Value>\n </ErrorParameters>\n <ErrorClassification>RequestError</ErrorClassification>\n
|
43
|
+
\ </Errors>\n <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
44
|
+
\ </GetShippingCostsResponse>\n "
|
45
|
+
http_version: '1.1'
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://open.api.ebay.com:80/shopping?APPID=YOUR-APP-ID&CALLNAME=GetSingleItem&ItemID=110089122715&RESPONSEENCODING=XML&SITEID=0&VERSION=717
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=utf-8
|
15
|
+
cache-control:
|
16
|
+
- no-cache
|
17
|
+
expires:
|
18
|
+
- Sat, 25 Dec 1999 00:00:00 GMT
|
19
|
+
last-modified:
|
20
|
+
- Sat, 23 Jul 2011 18:25:12 GMT
|
21
|
+
pragma:
|
22
|
+
- no-cache
|
23
|
+
server:
|
24
|
+
- Apache-Coyote/1.1
|
25
|
+
x-ebay-api-build-tag:
|
26
|
+
- E731_CORE_BUNDLED_13527319_R1
|
27
|
+
x-ebay-api-pool-name:
|
28
|
+
- ___cDRidW9rdGZpdWY=
|
29
|
+
x-ebay-api-server-name:
|
30
|
+
- ___dm8ucm83Nyg2MWRiNjE6Kjc3LTQyKTA1KDY3NTw/Mz02
|
31
|
+
x-ebay-esb-guid:
|
32
|
+
- urn:uuid:0818EFD69DD414CBF626954585064478704-181179025
|
33
|
+
date:
|
34
|
+
- Sat, 23 Jul 2011 18:25:11 GMT
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n <GetSingleItemResponse
|
38
|
+
xmlns=\"urn:ebay:apis:eBLBaseComponents\">\n <Timestamp>2011-07-23T18:25:12.072Z</Timestamp>\n
|
39
|
+
\ <Ack>Failure</Ack>\n <Errors>\n <ShortMessage>Invalid item ID.</ShortMessage>\n
|
40
|
+
\ <LongMessage>Invalid or non-existent item ID.</LongMessage>\n <ErrorCode>10.12</ErrorCode>\n
|
41
|
+
\ <SeverityCode>Error</SeverityCode>\n <ErrorClassification>RequestError</ErrorClassification>\n
|
42
|
+
\ </Errors>\n <Build>E731_CORE_BUNDLED_13527319_R1</Build>\n <Version>731</Version>\n
|
43
|
+
\ </GetSingleItemResponse>\n "
|
44
|
+
http_version: '1.1'
|