linkedin 0.3.7 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/changelog.markdown +15 -0
- data/lib/linked_in/api/query_methods.rb +15 -0
- data/lib/linked_in/api/update_methods.rb +16 -4
- data/lib/linked_in/helpers/authorization.rb +4 -3
- data/lib/linked_in/version.rb +2 -2
- data/linkedin.gemspec +2 -2
- data/spec/cases/api_spec.rb +49 -4
- data/spec/cases/oauth_spec.rb +13 -0
- data/spec/cases/search_spec.rb +35 -37
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_company_name_option.yml +98 -124
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options.yml +120 -111
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields.yml +137 -62
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_keywords_string_parameter.yml +64 -128
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option.yml +64 -128
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option_with_pagination.yml +39 -120
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields.yml +26 -243
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter.yml +147 -64
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option.yml +147 -62
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return.yml +147 -62
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination.yml +127 -57
- metadata +81 -28
- data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_a_facet.yml +0 -111
@@ -1,252 +1,35 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
5
|
uri: https://api.linkedin.com:443/v1/company-search:(companies:(id,name,industries,description,specialties),num-results)?keywords=apple
|
6
6
|
body:
|
7
|
-
headers:
|
8
|
-
x-li-format:
|
7
|
+
headers:
|
8
|
+
x-li-format:
|
9
9
|
- json
|
10
|
-
|
11
|
-
- OAuth
|
12
|
-
|
13
|
-
- OAuth
|
14
|
-
|
15
|
-
|
16
|
-
oauth_version="1.0"
|
17
|
-
response: !ruby/struct:VCR::Response
|
18
|
-
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
authorization:
|
11
|
+
- OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="XIAUlVH3VfeqacvVEQzCvdLSyy9swruF3mouF9mtc", oauth_signature="ggZObnJ1w5zMIBixfluGoUYZVSg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1365631654", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089", oauth_version="1.0"
|
12
|
+
user-agent:
|
13
|
+
- OAuth gem v0.4.7
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
19
16
|
code: 200
|
20
17
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
-
|
24
|
-
x-li-
|
25
|
-
- HHH4PB27GU
|
26
|
-
vary:
|
27
|
-
- ! '*'
|
28
|
-
x-li-format:
|
18
|
+
headers:
|
19
|
+
x-li-request-id:
|
20
|
+
- 68RH2HSO61
|
21
|
+
x-li-format:
|
29
22
|
- json
|
30
|
-
|
23
|
+
date:
|
24
|
+
- Wed, 10 Apr 2013 22:07:35 GMT
|
25
|
+
vary:
|
26
|
+
- "*"
|
27
|
+
server:
|
28
|
+
- Apache-Coyote/1.1
|
29
|
+
content-type:
|
31
30
|
- application/json;charset=UTF-8
|
32
|
-
transfer-encoding:
|
31
|
+
transfer-encoding:
|
33
32
|
- chunked
|
34
|
-
date:
|
35
|
-
|
36
|
-
|
37
|
-
5696,\n \"values\": [\n {\n \"description\": \"Apple designs
|
38
|
-
Macs, the best personal computers in the world, along with Mac OS X, iLife,
|
39
|
-
iWork, and professional software. Apple leads the digital music revolution with
|
40
|
-
its iPods and iTunes online store. Apple is reinventing the mobile phone with
|
41
|
-
its revolutionary iPhone and App Store, and has recently introduced its magical
|
42
|
-
iPad which is defining the future of mobile media and computing devices.\",\n
|
43
|
-
\ \"id\": 162479,\n \"industries\": {\n \"_total\": 1,\n
|
44
|
-
\ \"values\": [{\n \"code\": \"4\",\n \"name\":
|
45
|
-
\"Computer Software\"\n }]\n },\n \"name\": \"Apple\",\n
|
46
|
-
\ \"specialties\": {\n \"_total\": 4,\n \"values\":
|
47
|
-
[\n \"Innovative product development\",\n \"world class
|
48
|
-
operations\",\n \"Retail\",\n \"Telephone Support\"\n
|
49
|
-
\ ]\n }\n },\n {\n \"description\": \"Every
|
50
|
-
Apple Retail Store offers customers great ways to get the most out of their
|
51
|
-
Mac and iPod, such as free advice at the Genius Bar, popular in-store workshops
|
52
|
-
and special programs for kids. Customers can also book a free appointment with
|
53
|
-
a Personal Shopper to get expert buying advice or help selecting the perfect
|
54
|
-
gift for everyone on their list. The hands-on Apple Retail Store experience
|
55
|
-
gives customers a chance to test-drive Apple\\u2019s entire product line.\",\n
|
56
|
-
\ \"id\": 1276,\n \"industries\": {\n \"_total\": 1,\n
|
57
|
-
\ \"values\": [{\n \"code\": \"27\",\n \"name\":
|
58
|
-
\"Retail\"\n }]\n },\n \"name\": \"Apple Retail\",\n
|
59
|
-
\ \"specialties\": {\n \"_total\": 3,\n \"values\":
|
60
|
-
[\n \"retail\",\n \"technology\",\n \"computers\"\n
|
61
|
-
\ ]\n }\n },\n {\n \"description\": \"Xerox
|
62
|
-
was founded in 1906 in Rochester, New York as \\\"The Haloid Company\\\", which
|
63
|
-
originally manufactured photographic paper and equipment. The company subsequently
|
64
|
-
changed its name to \\\"Haloid Xerox\\\" in 1958 and then simply \\\"Xerox\\\"
|
65
|
-
in 1961. The company came to prominence in 1959 with the introduction of the
|
66
|
-
first plain paper photocopier using the process of xerography developed by Chester
|
67
|
-
Carlson, the Xerox 914. Before releasing the 914, Xerox had also introduced
|
68
|
-
the first xerographic printer, the \\\"Copyflo\\\" in 1955.\\r\\n\\r\\nIn 1970
|
69
|
-
Xerox opened the Xerox PARC research facility. The facility developed many modern
|
70
|
-
computing methods such as the mouse and the graphical user interface. From these
|
71
|
-
inventions, Xerox PARC created the Xerox Alto in 1973, a small minicomputer
|
72
|
-
similar to a workstation and personal computer. The Alto was never commercially
|
73
|
-
sold, as Xerox itself could not see the sales potential of it. In 1979, several
|
74
|
-
Apple Computer employees, including Steve Jobs, visited Xerox PARC, interested
|
75
|
-
in seeing their developments. Jobs and the others saw the commercial potential
|
76
|
-
of the GUI and mouse, and began development of the Apple Lisa, which Apple introduced
|
77
|
-
in 1983.\\r\\n \\r\\nHeadquartered in Norwalk, Conn., today Xerox is a $22
|
78
|
-
billion leading global enterprise for business process and document management.
|
79
|
-
Through its portfolio of technology and services, Xerox provides the essential
|
80
|
-
back-office support that clears the way for clients to focus on what they do
|
81
|
-
best: their real business. Xerox provides leading-edge document technology,
|
82
|
-
services, software and genuine Xerox supplies for graphic communication and
|
83
|
-
office printing environments of any size. Through ACS, A Xerox Company, which
|
84
|
-
Xerox acquired in February 2010, Xerox also offers extensive business process
|
85
|
-
outsourcing and IT outsourcing services, including data processing, HR benefits
|
86
|
-
management, finance support, and CRM services for commercial and government
|
87
|
-
organizations worldwide.\",\n \"id\": 1373,\n \"industries\":
|
88
|
-
{\n \"_total\": 1,\n \"values\": [{\n \"code\":
|
89
|
-
\"83\",\n \"name\": \"Printing\"\n }]\n },\n \"name\":
|
90
|
-
\"Xerox\",\n \"specialties\": {\n \"_total\": 6,\n \"values\":
|
91
|
-
[\n \"Office Solutions\",\n \"Printing\",\n \"document
|
92
|
-
management\",\n \"managed print services\",\n \"ITO\",\n
|
93
|
-
\ \"BPO\"\n ]\n }\n },\n {\n \"description\":
|
94
|
-
\"With more than 23 million members in the United States and Canada, Netflix,
|
95
|
-
Inc. [Nasdaq: NFLX] is the world\\u2019s leading Internet subscription service
|
96
|
-
for enjoying movies and TV shows. For $7.99 a month, Netflix members can instantly
|
97
|
-
watch unlimited movies and TV episodes streamed over the Internet to PCs, Macs
|
98
|
-
and TVs. Among the large and expanding base of devices streaming from Netflix
|
99
|
-
are Microsoft\\u2019s Xbox 360, Nintendo\\u2019s Wii and Sony\\u2019s PS3 consoles;
|
100
|
-
an array of Blu-ray disc players, Internet-connected TVs, home theater systems,
|
101
|
-
digital video recorders and Internet video players; Apple\\u2019s iPhone, iPad
|
102
|
-
and iPod touch, as well as Apple TV and Google TV. In all, more than 200 devices
|
103
|
-
that stream from Netflix are available in the U.S. and a growing number are
|
104
|
-
available in Canada. For more information, visit www.netflix.com.\",\n \"id\":
|
105
|
-
165158,\n \"industries\": {\n \"_total\": 1,\n \"values\":
|
106
|
-
[{\n \"code\": \"28\",\n \"name\": \"Entertainment\"\n
|
107
|
-
\ }]\n },\n \"name\": \"Netflix\",\n \"specialties\":
|
108
|
-
{\n \"_total\": 1,\n \"values\": [\"The best way to watch
|
109
|
-
movies and TV shows instantly.\"]\n }\n },\n {\n \"description\":
|
110
|
-
\"HCL Infosystems Ltd, with revenue of US $ 2.5 billion (Rs. 12,057 Cr) is India\\u2019s
|
111
|
-
premier hardware, services and ICT systems integration company offering a wide
|
112
|
-
\ spectrum of ICT products that includes Computing, Storage, Networking, Security,
|
113
|
-
Telecom, Imaging and Retail. HCL is a one-stop-shop for all the ICT requirements
|
114
|
-
of an organization. India's leading System Integration and Infrastructure Management
|
115
|
-
Services Organization, HCL has specialized expertise across verticals including
|
116
|
-
Telecom, BFSI, eGovernance & Power. HCL has India's largest distribution and
|
117
|
-
retail network, taking to market a range of Digital Lifestyle products in partnership
|
118
|
-
with leading global ICT brands, including Apple, Cisco, Ericsson, Kingston,
|
119
|
-
Kodak, Konica Minolta, Microsoft, Nokia, and many more. HCL today has India's
|
120
|
-
largest vertically integrated computer manufacturing facility with over three
|
121
|
-
decades of electronic manufacturing experience & HCL desktops is the largest
|
122
|
-
selling brand into the enterprise space. With India\\u2019s largest ICT services
|
123
|
-
network that reaches to every corner of India, HCL\\u2019s award winning Support
|
124
|
-
Services makes it the preferred choice of enterprise and consumers alike. HCL
|
125
|
-
Infosystems has a 100% subsidiary that addresses the physical security technology
|
126
|
-
system integration market. The subsidiary leverages technology to build a security
|
127
|
-
framework called \\u2018Safe State\\u2019 that safe guard\\u2019s life, infrastructure
|
128
|
-
& society. \\r\\nFor more information please visit us at www.hclinfosystems.com\",\n
|
129
|
-
\ \"id\": 7240,\n \"industries\": {\n \"_total\": 1,\n
|
130
|
-
\ \"values\": [{\n \"code\": \"96\",\n \"name\":
|
131
|
-
\"Information Technology and Services\"\n }]\n },\n \"name\":
|
132
|
-
\"HCL Infosystems Ltd\",\n \"specialties\": {\n \"_total\":
|
133
|
-
9,\n \"values\": [\n \"ERP Consulting & Services\",\n \"System
|
134
|
-
Integration\",\n \"IT Infrastructure Consultancy\",\n \"Managed
|
135
|
-
Services\",\n \"Strategic Outsourcing Services\",\n \"Infostructure
|
136
|
-
Services\",\n \"Networking Infrastructure\",\n \"Facilities
|
137
|
-
Management\",\n \"Career Development Centre and VPN & Managed Network\"\n
|
138
|
-
\ ]\n }\n },\n {\n \"description\": \"Experience
|
139
|
-
the Difference. \\r\\nFor over 40 years, Apple Vacations has provided the
|
140
|
-
most value in vacations to millions of people. Throughout the years, we\\u2019ve
|
141
|
-
provided what you want in a vacation \\u2013 great service, convenience, and
|
142
|
-
value. We understand just how important your vacation is. We know because, like
|
143
|
-
you, vacations are important to us too. \\r\\n \\r\\nApple Vacations is now
|
144
|
-
a company of almost 1500 energetic, hardworking employees with the same entrepreneurial
|
145
|
-
attitudes as our founders. Headquartered just outside Philadelphia with regional
|
146
|
-
offices in Chicago and Boston, the company is completely focused on providing
|
147
|
-
quality vacations for our customers. Employees are empowered to make decisions
|
148
|
-
that impact the quality of their customers\\u2019 vacations on a daily basis.
|
149
|
-
Since our humble beginnings, Apple Vacations has created the ultimate \\u201cbeginning-to-end\\u201d
|
150
|
-
vacation experience for customers. Apple Vacations employees will greet you
|
151
|
-
at your departure airport in more than 20 cities; and will meet your flight
|
152
|
-
in our charter destinations. Apple Vacations\\u2019 sister companies, USA3000
|
153
|
-
Airlines, flies customers to their destinations from more than 20 U.S. cities;
|
154
|
-
and Amstar, is the destination management company in-resort with uniformed representatives,
|
155
|
-
who will greet you upon arrival and assist you while you are at your resort.
|
156
|
-
Unlike any other travel company, Apple Vacations truly provides the ultimate
|
157
|
-
in a quality vacation experience.\",\n \"id\": 19271,\n \"industries\":
|
158
|
-
{\n \"_total\": 1,\n \"values\": [{\n \"code\":
|
159
|
-
\"30\",\n \"name\": \"Leisure and Travel\"\n }]\n },\n
|
160
|
-
\ \"name\": \"Apple Vacations\",\n \"specialties\": {\n \"_total\":
|
161
|
-
2,\n \"values\": [\n \"Leisure travel\",\n \"all
|
162
|
-
inclusive vacation packages\"\n ]\n }\n },\n {\n \"description\":
|
163
|
-
\"FileMaker is the leader in easy-to-use database software. Millions of people,
|
164
|
-
from individuals to some of the world's largest companies, rely on FileMaker
|
165
|
-
software to manage, analyze and share essential information. \\r\\n\\r\\nThe
|
166
|
-
company's products are the FileMaker Pro line - versatile database software
|
167
|
-
for teams and organizations, for Windows, Mac, iPhone, iPad and the web - and
|
168
|
-
Bento, the personal database for Mac, iPhone and iPad. FileMaker, Inc. is a
|
169
|
-
subsidiary of Apple.\",\n \"id\": 163801,\n \"industries\": {\n
|
170
|
-
\ \"_total\": 1,\n \"values\": [{\n \"code\": \"4\",\n
|
171
|
-
\ \"name\": \"Computer Software\"\n }]\n },\n \"name\":
|
172
|
-
\"FileMaker\",\n \"specialties\": {\n \"_total\": 10,\n \"values\":
|
173
|
-
[\n \"database\",\n \"online database\",\n \"easy
|
174
|
-
database\",\n \"software\",\n \"iphone software\",\n \"iphone
|
175
|
-
database\",\n \"organization\",\n \"server\",\n \"database
|
176
|
-
server\",\n \"web database\"\n ]\n }\n },\n
|
177
|
-
\ {\n \"description\": \"GHA Technologies, Inc. is a nationally expanding
|
178
|
-
network, computer reseller and systems integrator with offices nationwide. GHA
|
179
|
-
is listed as the 196 on the national VAR 500 list and 32nd largest private corporation
|
180
|
-
in Arizona. \\r\\n\\r\\nWe sell Apple, HP, Dell, IBM, Lenovo, Sony, Fujitsu,
|
181
|
-
APC, Symantec, Panasonic, Microsoft, Vmware, Intel, Cisco, Premio and all the
|
182
|
-
hottest Internet, bandwidth, security, VoIP, wireless, video, identification
|
183
|
-
technologies and a vast offering of technology services. \\r\\n\\r\\nSome facts
|
184
|
-
about GHA Technologies, Inc.\\r\\n\\u2022 One of the largest, private providers
|
185
|
-
of technology solutions for corporate, government & education markets in America.\\r\\n\\u2022
|
186
|
-
Our vast access to coast-to-coast distribution network and warehouse facilities
|
187
|
-
support just-in-time delivery.\\r\\n\\u2022 Mission-critical delivery-Orders
|
188
|
-
placed by 9:00 p.m. EST (8:00 p.m. CST) can be received the next morning for
|
189
|
-
in-stock items.\\r\\n\\u2022 Secure, password-protected 24-hour access to your
|
190
|
-
own personal, customized website with special pricing on more than 1.1 million
|
191
|
-
products from more than 1,000 manufacturers.\\r\\n\\r\\nGHA Technologies, Inc.
|
192
|
-
has about 100 + employees with annual sales of approximately $80 million. Our
|
193
|
-
highly motivated and experienced sales professionals provide the highest level
|
194
|
-
of service to our customers. \\r\\n\\r\\nGHA Technologies, Inc. is currently
|
195
|
-
HIRING industry experienced technology sales professionals nationwide. Please
|
196
|
-
send your resume to resumes@gha-associates.com. We look forward to hearing from
|
197
|
-
you.\",\n \"id\": 21482,\n \"industries\": {\n \"_total\":
|
198
|
-
1,\n \"values\": [{\n \"code\": \"96\",\n \"name\":
|
199
|
-
\"Information Technology and Services\"\n }]\n },\n \"name\":
|
200
|
-
\"GHA Technologies\",\n \"specialties\": {\n \"_total\": 5,\n
|
201
|
-
\ \"values\": [\n \"Hardware, Software and Technology Components\",\n
|
202
|
-
\ \"Technology Services - Integration, Installation and Specialized\",\n
|
203
|
-
\ \"Corporate Commercial Business Clients\",\n \"Non-profit
|
204
|
-
Organizations\",\n \"Government and Educational Institutions\"\n
|
205
|
-
\ ]\n }\n },\n {\n \"description\": \"Apple
|
206
|
-
& Associates is an executive search firm that specializes in the Pharmaceutical,
|
207
|
-
Medical Device and Consumer Product Industries. We provide extensive coverage
|
208
|
-
of these worldwide markets and have forged a solid reputation in the industry
|
209
|
-
as a competent, aggressive, and resource-rich recruiting firm. We are a nation-wide
|
210
|
-
company with offices through-out the United States. \\r\\n\\r\\nApple & Associates
|
211
|
-
belongs to Intercity Personnel Associates (IPA) and the Top Echelon Network.
|
212
|
-
\ Through these worldwide recruiting networks, we share confidentially coded
|
213
|
-
information about available positions and receive qualified candidates within
|
214
|
-
a short period of time. With one phone call you not only have rapid access
|
215
|
-
to our candidates, but also to qualified candidates from over 1,000 of the nation\\u2019s
|
216
|
-
other top recruiting firms. Because our executive recruiters specialize in
|
217
|
-
different industry segments, we can give you the service you deserve in a fast,
|
218
|
-
focused, and efficient manner and provide you with quality industry specific
|
219
|
-
candidates. \\r\\n\\r\\nWe realize the importance of hiring professionals
|
220
|
-
who understand and are able to assimilate with your company\\u2019s business
|
221
|
-
model, culture, process, equipment, and materials. Our team has studied the
|
222
|
-
hiring decisions that make the firms in the Pharmaceutical and Medical Device
|
223
|
-
industries so successful. Our candidates will meet the standard your company
|
224
|
-
demands, with the technical and industry background to match.\",\n \"id\":
|
225
|
-
112136,\n \"industries\": {\n \"_total\": 1,\n \"values\":
|
226
|
-
[{\n \"code\": \"104\",\n \"name\": \"Staffing and Recruiting\"\n
|
227
|
-
\ }]\n },\n \"name\": \"Apple & Associates\",\n \"specialties\":
|
228
|
-
{\n \"_total\": 20,\n \"values\": [\n \"Medical
|
229
|
-
Device\",\n \"Pharmaceutical\",\n \"Power\",\n \"Energy\",\n
|
230
|
-
\ \"Consumer Products\",\n \"Supply Chain\",\n \"Purchasing\",\n
|
231
|
-
\ \"Engineering\",\n \"Marketing\",\n \"Sales\",\n
|
232
|
-
\ \"Human Resources\",\n \"Science\",\n \"Finance\",\n
|
233
|
-
\ \"Manufacturing\",\n \"Operations\",\n \"R&D\",\n
|
234
|
-
\ \"Six Sigma\",\n \"IT\",\n \"chemist\",\n
|
235
|
-
\ \"Executive Management\"\n ]\n }\n },\n {\n
|
236
|
-
\ \"description\": \"The Ultimate Computer Store - We empower customers
|
237
|
-
with computer and electronic solutions coupled with excellent customer service
|
238
|
-
that sets us apart from the rest.\\r\\n\\r\\nFounded in 1979 by two former Radio
|
239
|
-
Shack employees. The first Micro Center store was a 900 sq ft (84 m2). storefront
|
240
|
-
located in the Lane Avenue Shopping Center in Upper Arlington, Ohio. There are
|
241
|
-
currently 22 Micro Center stores nation-wide in California, Colorado, Georgia,
|
242
|
-
Illinois, Kansas, Massachussetts, Maryland, Michigan, Minnesota, Missouri, New
|
243
|
-
Jersey, New York, Ohio, Pennsylvania, Texas, and Virginia. A 23rd store will
|
244
|
-
open in Yonkers, NY this spring.\",\n \"id\": 15552,\n \"industries\":
|
245
|
-
{\n \"_total\": 1,\n \"values\": [{\n \"code\":
|
246
|
-
\"27\",\n \"name\": \"Retail\"\n }]\n },\n \"name\":
|
247
|
-
\"Micro Center\",\n \"specialties\": {\n \"_total\": 7,\n \"values\":
|
248
|
-
[\n \"computers\",\n \"Apple\",\n \"build your
|
249
|
-
own\",\n \"iPod\",\n \"GPS\",\n \"TVs\",\n
|
250
|
-
\ \"service\"\n ]\n }\n }\n ]\n },\n \"numResults\":
|
251
|
-
5696\n}"
|
252
|
-
http_version: '1.1'
|
33
|
+
body: "{\n \"companies\": {\n \"_count\": 10,\n \"_start\": 0,\n \"_total\": 8450,\n \"values\": [\n {\n \"description\": \"Apple designs Macs, the best personal computers in the world, along with OS X, iLife, iWork and professional software. Apple leads the digital music revolution with its iPods and iTunes online store. Apple has reinvented the mobile phone with its revolutionary iPhone and App Store, and is defining the future of mobile media and computing devices with iPad.\",\n \"id\": 162479,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"24\",\n \"name\": \"Consumer Electronics\"\n }]\n },\n \"name\": \"Apple\",\n \"specialties\": {\n \"_total\": 4,\n \"values\": [\n \"Innovative product development\",\n \"world class operations\",\n \"Retail\",\n \"Telephone Support\"\n ]\n }\n },\n {\n \"description\": \"Experience the Difference. \\r\\nFor over 40 years, Apple Vacations has provided the most value in vacations to millions of people. Throughout the years, we\\u2019ve provided what you want in a vacation \\u2013 great service, convenience, and value. We understand just how important your vacation is. We know because, like you, vacations are important to us too. \\r\\n \\r\\nApple Vacations is a company of energetic, hardworking employees with the same entrepreneurial attitudes as our founders. Headquartered just outside Philadelphia with regional offices in Chicago and Boston, the company is completely focused on providing quality vacations for our customers. Employees are empowered to make decisions that impact the quality of their customers\\u2019 vacations on a daily basis. Since our humble beginnings, Apple Vacations has created the ultimate \\u201cbeginning-to-end\\u201d vacation experience for customers. Apple Vacations employees will greet you at your departure airport in more than 20 cities; and will meet your flight in our charter destinations. Apple Vacations\\u2019 sister companies, flies customers to their destinations from more than 20 U.S. cities; and Amstar, is the destination management company in-resort with uniformed representatives, who will greet you upon arrival and assist you while you are at your resort. Unlike any other travel company, Apple Vacations truly provides the ultimate in a quality vacation experience.\",\n \"id\": 19271,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"30\",\n \"name\": \"Leisure & Travel\"\n }]\n },\n \"name\": \"Apple Vacations\",\n \"specialties\": {\n \"_total\": 2,\n \"values\": [\n \"Leisure travel\",\n \"all inclusive vacation packages\"\n ]\n }\n },\n {\n \"description\": \"Big Apple International Realty has been listing, selling and managing Residential Real Estate in four counties of the Greater Orlando and Central Florida areas for over five years. Because our Property Management Division had grown substantially, and to fill the growing need for property management services in Central Florida, we founded Orlando Rental Store in 2008. In addition to providing \\\"Lease Only\\\" services at competitive prices, we currently manage close to 50 properties in the Greater Orlando Area.\",\n \"id\": 778626,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"44\",\n \"name\": \"Real Estate\"\n }]\n },\n \"name\": \"Big Apple Holdings, Inc. dba Big Apple International Realty\"\n },\n {\n \"description\": \"Apple & Associates is an executive search firm that specializes in the Pharmaceutical, Medical Device and Consumer Product Industries. We provide extensive coverage of these worldwide markets and have forged a solid reputation in the industry as a competent, aggressive, and resource-rich recruiting firm. We are a nation-wide company with offices through-out the United States. \\r\\n\\r\\nApple & Associates belongs to Intercity Personnel Associates (IPA) and the Top Echelon Network. Through these worldwide recruiting networks, we share confidentially coded information about available positions and receive qualified candidates within a short period of time. With one phone call you not only have rapid access to our candidates, but also to qualified candidates from over 1,000 of the nation\\u2019s other top recruiting firms. Because our executive recruiters specialize in different industry segments, we can give you the service you deserve in a fast, focused, and efficient manner and provide you with quality industry specific candidates. \\r\\n\\r\\nWe realize the importance of hiring professionals who understand and are able to assimilate with your company\\u2019s business model, culture, process, equipment, and materials. Our team has studied the hiring decisions that make the firms in the Pharmaceutical and Medical Device industries so successful. Our candidates will meet the standard your company demands, with the technical and industry background to match.\",\n \"id\": 112136,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"104\",\n \"name\": \"Staffing & Recruiting\"\n }]\n },\n \"name\": \"Apple & Associates\",\n \"specialties\": {\n \"_total\": 20,\n \"values\": [\n \"Medical Device\",\n \"Pharmaceutical\",\n \"Power\",\n \"Energy\",\n \"Consumer Products\",\n \"Supply Chain\",\n \"Purchasing\",\n \"Engineering\",\n \"Marketing\",\n \"Sales\",\n \"Human Resources\",\n \"Science\",\n \"Finance\",\n \"Manufacturing\",\n \"Operations\",\n \"R&D\",\n \"Six Sigma\",\n \"IT\",\n \"chemist\",\n \"Executive Management\"\n ]\n }\n },\n {\n \"description\": \"Headquartered in Singapore and a presence in 9 countries globally, Stone Apple is a Specialized Consulting firm focused mainly on Business Intelligence & Analytics, Enterprise Resource Planning, Knowledge Management & Application Integration with a strong product portfolio, analytical applications, Proprietary Industry Solutions and strong services capability \\r\\n\\r\\nStone Apple has a strong offshore presence in SE Asia with development centers in Vietnam and Malaysia. The Company has a strong presence and networks in Asia Pacific, Europe and United States to support their rapidly growing MNC enterprise customer base \\r\\n\\r\\nStone Apple provides customized solutions to meet the changing needs of enterprises globally. From leading industry methodologies to in-house proven models, Stone Apple collaborates with their customers to deliver tangible business results that impact their bottom line.\",\n \"id\": 772044,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"96\",\n \"name\": \"Information Technology & Services\"\n }]\n },\n \"name\": \"Stone Apple Solutions\"\n },\n {\n \"description\": \"iSquare S.A. is the Apple Authorised Distributor of Greece and Cyprus since September 2010. iSquare is distributing Apple products but also plans, implements and provides intergrated solutions, based on the innovative Apple products and technology. iSquare's strategic goal is to increase the use of Apple products among the Greek consumers, but also to provide users the ultimate Apple experience.\\r\\n\\r\\niSquare creates and provides a complete ecosystem for Apple products and services, aiming to bring Greek customers closer to Apple's philosophy. In order to do that, iSquare:\\r\\n\\r\\n- Creates a wide network of POS (Points Of Sales) that spreads throughout Greece and Cyprus\\r\\n\\r\\n- Develops its relations with major retail chains in order to promote Apple products to a wide range of customers\\r\\n\\r\\n- Creates a unique network of stores exclusively for Apple products, always in line with the high standards of \\r\\n Apple Premium Reseller program\\r\\n\\r\\n- Invests on continuous and in depth training of the sales network in order to provide the best before and after sale \\r\\n support, according to Apple's and iSquare's high standards\\r\\n\\r\\n- Focuses on the crucial sector of Education\\r\\n\\r\\n- Constantly works to improve the support of Apple products and solutions\\r\\n\\r\\n- Completes Apple's ecosystem as the distributor of software and peripherals from well known brands.\\r\\n\\r\\n\\r\\nWith a vision that derives from Apple's innovation, iSquare aspires to bring the Apple products at the stature they deserve within the Greek and Cypriot market.\",\n \"id\": 2135525,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"24\",\n \"name\": \"Consumer Electronics\"\n }]\n },\n \"name\": \"iSquare - Apple Authorized Distributor in Greece & Cyprus\"\n },\n {\n \"description\": \"Filex (Moj Apple Du\xC4\x87an i Servis) je autorizirani Apple partner za prodaju, servis i podr\xC5\xA1ku.\\r\\n\\r\\nFilex je osnovan 1992 godine te od tada u kontinuitetu razvijamo i unapre\xC4\x91ujemo prepoznatljivost Apple tehnologija prezentiraju\xC4\x87i upotrebnu vrijednost Apple rje\xC5\xA1enja, na doma\xC4\x87em i regionalnom tr\xC5\xBEi\xC5\xA1tu.\\r\\n\\r\\nNa\xC5\xA1 fokus nije isklju\xC4\x8Divo na tehnologijama ve\xC4\x87 kako te tehnologije podrediti potrebama korisnika. Sukladno tome, Filex nije samo jo\xC5\xA1 jedna u nizu trgovina u koju \xC4\x87ete do\xC4\x87i \\\"pokupiti\\\" svoj Apple ure\xC4\x91aj, ve\xC4\x87 mjesto na kojem \xC4\x87ete postavljati pitanja, razgovarati i diskutirati te na kraju iza\xC4\x87i sa rje\xC5\xA1enjem - ma kako god ono na kraju izgledalo!\\r\\n\\r\\nKontaktirajte nas preko na\xC5\xA1eg Internet Store-a (www.filex.hr), ili nam pi\xC5\xA1ite na prodaja@filx.hr ili servis@filex.hr.\\r\\nI svakako nam se pridru\xC5\xBEite na Facebook-u na http://www.facebook.com/pages/Filex-Moj-Apple-Du\xC4\x87an-i-Servis/131194173598671\\r\\n\\r\\nVa\xC5\xA1e zadovoljstvo na\xC5\xA1a je misija!\",\n \"id\": 2303504,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"3\",\n \"name\": \"Computer Hardware\"\n }]\n },\n \"name\": \"Filex Apple Store & Support\",\n \"specialties\": {\n \"_total\": 4,\n \"values\": [\n \"Apple Store\",\n \"Apple Podr\xC5\xA1ka i Servis\",\n \"Apple Rje\xC5\xA1enja\",\n \"Apple B2B\"\n ]\n }\n },\n {\n \"description\": \"Als Apple een nieuwssite zou maken in Vlaanderen, dan was het AppleVlaanderen. AppleVlaanderen is gemaakt met dezelfde passie en aandacht voor detail als de producten van Apple zelf.\\r\\n\\r\\nWe behandelen de nieuwsfeiten over Apple met zorg en proberen u zo goed mogelijk in te lichten als Apple-Fan in Vlaanderen. Dagelijks circuleren er duizenden geruchten over Apple in het algemeen, onze taak is deze te bundelen en u mee te delen.\\r\\n\\r\\nDit doen we met veel liefde voor de verschillende producten en voor Apple in het algemeen. Onze medewerkers werken allemaal op vrijwillige basis en hebben voldoende kennis over de producten van Apple.\",\n \"id\": 2419290,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"81\",\n \"name\": \"Newspapers\"\n }]\n },\n \"name\": \"Apple Nieuws Vlaanderen\",\n \"specialties\": {\n \"_total\": 4,\n \"values\": [\n \"apple\",\n \"iPhone\",\n \"iPad\",\n \"mac\"\n ]\n }\n },\n {\n \"description\": \"OGGO est une soci\xC3\xA9t\xC3\xA9 de conseils et solutions Apple Macintosh bas\xC3\xA9e \xC3\xA0 Gen\xC3\xA8ve, nous proposons notre savoir faire essentiellement aux PME et particuliers.\\r\\n\\r\\nNos services en un coup d'oeil :\\r\\n\\r\\n// R\xC3\xA9parations\\r\\n// Optimisations mat\xC3\xA9rielles\\r\\n// Contrats de maintenance\\r\\n// D\xC3\xA9pannage sur site\\r\\n// Interventions urgentes\\r\\n// Maintenance\\r\\n// Aide \xC3\xA0 l'achat\\r\\n// Formations\",\n \"id\": 2260437,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"96\",\n \"name\": \"Information Technology & Services\"\n }]\n },\n \"name\": \"OGGO - Services Apple Macintosh\",\n \"specialties\": {\n \"_total\": 7,\n \"values\": [\n \"Consulting & conseils Apple Macintosh\",\n \"Support Apple Macintosh\",\n \"Maintenance Mac OS X Server\",\n \"D\xC3\xA9pannage Mac OS X\",\n \"Installation Mac OS X Server\",\n \"Interventions Apple Macintosh\",\n \"Formation Apple Macintosh\"\n ]\n }\n },\n {\n \"description\": \"Apple-Crumble provides sound advice, sales and support for all apple mac products and related peripherals including external hard drives, printers, scanners and both apple and 3rd party software. Apple-Crumble are also experts in troubleshooting, repair and maintenance. Our staff are apple trained and certified with over 15 years experience.\\r\\n\\r\\nAll work is guaranteed and all enquiries are welcome.\\r\\n\\r\\nWe are obviously very \\u2018pro\\u2019 apple and firmly believe that once you go mac you never go back!\\r\\n\\r\\nFor your convenience Apple-Crumble have our own workshop and offices with free parking in Penzance, Cornwall so that you have the extra peace of mind knowing that your equipment is being serviced in a clean and safe environment. You may also view, demo and purchase new hardware or add-ons, as well as discussing tailor-made options for you and/or your business.\\r\\n\\r\\nApple-Crumble\\u2019s service extends to on-site visits for emergency or contract call-outs, as well as delivery and installation of new products and systems. We cover Penzance, Falmouth, Helston and the Lizard, St Ives, Hayle, Truro, Camborne, Redruth, and all surrounding areas including north Cornwall and Devon\\r\\n\\r\\nIn most cases it is safer and more cost effective to bring your hardware to us as we are geared up for any static or time delay issues, but it is very rare that we cannot provide a solution, wherever you may be!\",\n \"id\": 1049054,\n \"industries\": {\n \"_total\": 1,\n \"values\": [{\n \"code\": \"3\",\n \"name\": \"Computer Hardware\"\n }]\n },\n \"name\": \"Apple Crumble\"\n }\n ]\n },\n \"numResults\": 8450\n\
|
34
|
+
}"
|
35
|
+
http_version: "1.1"
|
data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter.yml
CHANGED
@@ -1,73 +1,156 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
5
|
uri: https://api.linkedin.com:443/v1/company-search?keywords=apple
|
6
6
|
body:
|
7
|
-
headers:
|
8
|
-
x-li-format:
|
7
|
+
headers:
|
8
|
+
x-li-format:
|
9
9
|
- json
|
10
|
-
|
11
|
-
- OAuth
|
12
|
-
|
13
|
-
- OAuth
|
14
|
-
|
15
|
-
|
16
|
-
oauth_version="1.0"
|
17
|
-
response: !ruby/struct:VCR::Response
|
18
|
-
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
authorization:
|
11
|
+
- OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="xtc6RIIOpDj7AANJ9VyIXibv4YhcM3gxMUg6OewBSo", oauth_signature="8ShrnvC9fxh1tU3YNEjF4l%2Fhrho%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1365631653", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089", oauth_version="1.0"
|
12
|
+
user-agent:
|
13
|
+
- OAuth gem v0.4.7
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
19
16
|
code: 200
|
20
17
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
-
|
24
|
-
x-li-
|
25
|
-
- LPZS6ZUV2L
|
26
|
-
vary:
|
27
|
-
- ! '*'
|
28
|
-
x-li-format:
|
18
|
+
headers:
|
19
|
+
x-li-request-id:
|
20
|
+
- 5LR8OTP90S
|
21
|
+
x-li-format:
|
29
22
|
- json
|
30
|
-
|
23
|
+
date:
|
24
|
+
- Wed, 10 Apr 2013 22:07:32 GMT
|
25
|
+
vary:
|
26
|
+
- "*"
|
27
|
+
server:
|
28
|
+
- Apache-Coyote/1.1
|
29
|
+
content-type:
|
31
30
|
- application/json;charset=UTF-8
|
32
|
-
transfer-encoding:
|
31
|
+
transfer-encoding:
|
33
32
|
- chunked
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
33
|
+
body: |-
|
34
|
+
{
|
35
|
+
"companies": {
|
36
|
+
"_count": 10,
|
37
|
+
"_start": 0,
|
38
|
+
"_total": 8450,
|
39
|
+
"values": [
|
40
|
+
{
|
41
|
+
"id": 162479,
|
42
|
+
"name": "Apple"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"id": 19271,
|
46
|
+
"name": "Apple Vacations"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"id": 778626,
|
50
|
+
"name": "Big Apple Holdings, Inc. dba Big Apple International Realty"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"id": 112136,
|
54
|
+
"name": "Apple & Associates"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"id": 772044,
|
58
|
+
"name": "Stone Apple Solutions"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"id": 2135525,
|
62
|
+
"name": "iSquare - Apple Authorized Distributor in Greece & Cyprus"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"id": 2303504,
|
66
|
+
"name": "Filex Apple Store & Support"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"id": 2419290,
|
70
|
+
"name": "Apple Nieuws Vlaanderen"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"id": 2260437,
|
74
|
+
"name": "OGGO - Services Apple Macintosh"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"id": 1049054,
|
78
|
+
"name": "Apple Crumble"
|
79
|
+
}
|
80
|
+
]
|
81
|
+
},
|
82
|
+
"facets": {
|
83
|
+
"_total": 1,
|
84
|
+
"values": [{
|
85
|
+
"buckets": {
|
86
|
+
"_total": 10,
|
87
|
+
"values": [
|
88
|
+
{
|
89
|
+
"code": "us:0",
|
90
|
+
"count": 2511,
|
91
|
+
"name": "United States",
|
92
|
+
"selected": false
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"code": "gb:0",
|
96
|
+
"count": 702,
|
97
|
+
"name": "United Kingdom",
|
98
|
+
"selected": false
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"code": "us:84",
|
102
|
+
"count": 322,
|
103
|
+
"name": "San Francisco Bay Area",
|
104
|
+
"selected": false
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"code": "us:70",
|
108
|
+
"count": 285,
|
109
|
+
"name": "Greater New York City Area",
|
110
|
+
"selected": false
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"code": "nl:0",
|
114
|
+
"count": 284,
|
115
|
+
"name": "Netherlands",
|
116
|
+
"selected": false
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"code": "ca:0",
|
120
|
+
"count": 266,
|
121
|
+
"name": "Canada",
|
122
|
+
"selected": false
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"code": "au:0",
|
126
|
+
"count": 195,
|
127
|
+
"name": "Australia",
|
128
|
+
"selected": false
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"code": "in:0",
|
132
|
+
"count": 186,
|
133
|
+
"name": "India",
|
134
|
+
"selected": false
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"code": "it:0",
|
138
|
+
"count": 177,
|
139
|
+
"name": "Italy",
|
140
|
+
"selected": false
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"code": "us:49",
|
144
|
+
"count": 173,
|
145
|
+
"name": "Greater Los Angeles Area",
|
146
|
+
"selected": false
|
147
|
+
}
|
148
|
+
]
|
149
|
+
},
|
150
|
+
"code": "location",
|
151
|
+
"name": "Location"
|
152
|
+
}]
|
153
|
+
},
|
154
|
+
"numResults": 8450
|
155
|
+
}
|
156
|
+
http_version: "1.1"
|