serp_metrics 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +26 -2
- data/lib/serp_metrics/version.rb +1 -1
- data/serp_metrics.gemspec +1 -1
- data/spec/cassettes/serp_metrics__command_sets__account/credit_fetches_credit_information.yml +31 -35
- data/spec/cassettes/serp_metrics__command_sets__account/time_fetches_time.yml +25 -29
- data/spec/cassettes/serp_metrics__command_sets__engines/codes_fetches_search_engine_codes.yml +30 -209
- data/spec/cassettes/serp_metrics__command_sets__flux/flux_fetches_flux_trend.yml +31 -35
- data/spec/cassettes/serp_metrics__command_sets__keywords/add_adds_keyword.yml +118 -122
- data/spec/cassettes/serp_metrics__command_sets__keywords/all_retrieves_keywords.yml +147 -155
- data/spec/cassettes/serp_metrics__command_sets__keywords/check_retrieves_checks.yml +147 -155
- data/spec/cassettes/serp_metrics__command_sets__keywords/remove_removes_keyword.yml +147 -149
- data/spec/cassettes/serp_metrics__command_sets__keywords/serp_retrieves_serp_for_check.yml +88 -133
- data/spec/cassettes/serp_metrics__command_sets__priorities/add_with_location_adds_priority.yml +31 -29
- data/spec/cassettes/serp_metrics__command_sets__priorities/add_without_location_adds_priority.yml +31 -29
- data/spec/cassettes/serp_metrics__command_sets__priorities/get_checks_priority.yml +60 -58
- data/spec/spec_helper.rb +9 -1
- metadata +4 -4
@@ -1,206 +1,198 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://api.serpmetrics.com/keywords/add
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: key
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
8
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D¶ms=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%7D
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
12
|
-
response:
|
13
|
-
status:
|
12
|
+
response:
|
13
|
+
status:
|
14
14
|
code: 201
|
15
15
|
message: Created
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- nginx
|
19
|
-
Date:
|
20
|
-
-
|
21
|
-
Content-Type:
|
16
|
+
headers:
|
17
|
+
Server:
|
18
|
+
- nginx/1.2.9
|
19
|
+
Date:
|
20
|
+
- Sat, 30 Nov 2013 06:29:42 GMT
|
21
|
+
Content-Type:
|
22
22
|
- application/json; charset=UTF-8
|
23
|
-
|
24
|
-
-
|
25
|
-
Connection:
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Connection:
|
26
|
+
- close
|
27
|
+
X-Powered-By:
|
28
|
+
- PHP/5.4.13--pl1-gentoo
|
29
|
+
Set-Cookie:
|
30
|
+
- app=joki49fqq5ihltqbria0p29jp6; path=/; HttpOnly
|
31
|
+
Expires:
|
30
32
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
31
|
-
|
33
|
+
Cache-Control:
|
34
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
35
|
+
Pragma:
|
32
36
|
- no-cache
|
33
|
-
|
34
|
-
- app=k15reutg42ir7ahc85veg2no27; path=/; HttpOnly
|
35
|
-
body:
|
37
|
+
body:
|
36
38
|
encoding: US-ASCII
|
37
|
-
string:
|
38
|
-
http_version:
|
39
|
-
recorded_at:
|
40
|
-
- request:
|
39
|
+
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"keyword\":\"restaurants\",\"engines\":[\"google_en-us\"]}}"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
42
|
+
- request:
|
41
43
|
method: post
|
42
44
|
uri: http://api.serpmetrics.com/keywords/check
|
43
|
-
body:
|
45
|
+
body:
|
44
46
|
encoding: US-ASCII
|
45
|
-
string: key
|
46
|
-
headers:
|
47
|
-
Content-Type:
|
47
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%2C%22engine%22%3A%22google_en-us%22%2C%22limit%22%3A10%7D
|
48
|
+
headers:
|
49
|
+
Content-Type:
|
48
50
|
- application/x-www-form-urlencoded
|
49
|
-
response:
|
50
|
-
status:
|
51
|
+
response:
|
52
|
+
status:
|
51
53
|
code: 200
|
52
54
|
message: OK
|
53
|
-
headers:
|
54
|
-
Server:
|
55
|
-
- nginx
|
56
|
-
Date:
|
57
|
-
-
|
58
|
-
Content-Type:
|
55
|
+
headers:
|
56
|
+
Server:
|
57
|
+
- nginx/1.2.9
|
58
|
+
Date:
|
59
|
+
- Sat, 30 Nov 2013 06:26:00 GMT
|
60
|
+
Content-Type:
|
59
61
|
- application/json; charset=UTF-8
|
60
|
-
|
61
|
-
-
|
62
|
-
Connection:
|
63
|
-
-
|
64
|
-
|
65
|
-
-
|
66
|
-
|
67
|
-
-
|
68
|
-
Expires:
|
62
|
+
Transfer-Encoding:
|
63
|
+
- chunked
|
64
|
+
Connection:
|
65
|
+
- close
|
66
|
+
X-Powered-By:
|
67
|
+
- PHP/5.4.13--pl1-gentoo
|
68
|
+
Set-Cookie:
|
69
|
+
- app=8drseue7pmt6cdnksqb9488r20; path=/; HttpOnly
|
70
|
+
Expires:
|
69
71
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
70
|
-
|
72
|
+
Cache-Control:
|
73
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
74
|
+
Pragma:
|
71
75
|
- no-cache
|
72
|
-
|
73
|
-
- app=qvmfojbhh76jpvik1jb5mjdne3; path=/; HttpOnly
|
74
|
-
X-Cache:
|
75
|
-
- OrchestraCache
|
76
|
-
X-Orchestra-Scheme:
|
77
|
-
- http
|
78
|
-
body:
|
76
|
+
body:
|
79
77
|
encoding: US-ASCII
|
80
|
-
string:
|
81
|
-
http_version:
|
82
|
-
recorded_at:
|
83
|
-
- request:
|
78
|
+
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"engine\":\"google_en-us\",\"checks\":{\"1385788936\":\"529976084513a7206600008c\"}},\"request_time\":1385792760}"
|
79
|
+
http_version:
|
80
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
81
|
+
- request:
|
84
82
|
method: post
|
85
83
|
uri: http://api.serpmetrics.com/keywords/all
|
86
|
-
body:
|
84
|
+
body:
|
87
85
|
encoding: US-ASCII
|
88
|
-
string: key
|
89
|
-
headers:
|
90
|
-
Content-Type:
|
86
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
|
87
|
+
headers:
|
88
|
+
Content-Type:
|
91
89
|
- application/x-www-form-urlencoded
|
92
|
-
response:
|
93
|
-
status:
|
90
|
+
response:
|
91
|
+
status:
|
94
92
|
code: 200
|
95
93
|
message: OK
|
96
|
-
headers:
|
97
|
-
Server:
|
98
|
-
- nginx
|
99
|
-
Date:
|
100
|
-
-
|
101
|
-
Content-Type:
|
94
|
+
headers:
|
95
|
+
Server:
|
96
|
+
- nginx/1.2.9
|
97
|
+
Date:
|
98
|
+
- Sat, 30 Nov 2013 06:29:44 GMT
|
99
|
+
Content-Type:
|
102
100
|
- application/json; charset=UTF-8
|
103
|
-
|
104
|
-
-
|
105
|
-
Connection:
|
106
|
-
-
|
107
|
-
|
108
|
-
-
|
109
|
-
|
110
|
-
-
|
111
|
-
Expires:
|
101
|
+
Transfer-Encoding:
|
102
|
+
- chunked
|
103
|
+
Connection:
|
104
|
+
- close
|
105
|
+
X-Powered-By:
|
106
|
+
- PHP/5.4.13--pl1-gentoo
|
107
|
+
Set-Cookie:
|
108
|
+
- app=qnetu1t8bqf2fctl8fjncjlds3; path=/; HttpOnly
|
109
|
+
Expires:
|
112
110
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
113
|
-
|
111
|
+
Cache-Control:
|
112
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
113
|
+
Pragma:
|
114
114
|
- no-cache
|
115
|
-
|
116
|
-
- app=fhruq7su10mecu69bou008vg51; path=/; HttpOnly
|
117
|
-
X-Cache:
|
118
|
-
- OrchestraCache
|
119
|
-
X-Orchestra-Scheme:
|
120
|
-
- http
|
121
|
-
body:
|
115
|
+
body:
|
122
116
|
encoding: US-ASCII
|
123
|
-
string:
|
124
|
-
http_version:
|
125
|
-
recorded_at:
|
126
|
-
- request:
|
117
|
+
string: "{\"status\":\"ok\",\"request_time\":1385792984,\"data\":{\"5146926072484b125b000000\":{\"phrase\":\"restaurants\",\"engines\":[\"google_en-us\"]}}}"
|
118
|
+
http_version:
|
119
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
120
|
+
- request:
|
127
121
|
method: post
|
128
122
|
uri: http://api.serpmetrics.com/keywords/delete
|
129
|
-
body:
|
123
|
+
body:
|
130
124
|
encoding: US-ASCII
|
131
|
-
string: key
|
132
|
-
headers:
|
133
|
-
Content-Type:
|
125
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
126
|
+
headers:
|
127
|
+
Content-Type:
|
134
128
|
- application/x-www-form-urlencoded
|
135
|
-
response:
|
136
|
-
status:
|
129
|
+
response:
|
130
|
+
status:
|
137
131
|
code: 201
|
138
132
|
message: Created
|
139
|
-
headers:
|
140
|
-
Server:
|
141
|
-
- nginx
|
142
|
-
Date:
|
143
|
-
-
|
144
|
-
Content-Type:
|
133
|
+
headers:
|
134
|
+
Server:
|
135
|
+
- nginx/1.2.9
|
136
|
+
Date:
|
137
|
+
- Sat, 30 Nov 2013 06:34:37 GMT
|
138
|
+
Content-Type:
|
145
139
|
- application/json; charset=UTF-8
|
146
|
-
|
147
|
-
-
|
148
|
-
Connection:
|
149
|
-
-
|
150
|
-
|
151
|
-
-
|
152
|
-
|
140
|
+
Transfer-Encoding:
|
141
|
+
- chunked
|
142
|
+
Connection:
|
143
|
+
- close
|
144
|
+
X-Powered-By:
|
145
|
+
- PHP/5.4.13--pl1-gentoo
|
146
|
+
Set-Cookie:
|
147
|
+
- app=ogl4udm020ibmidkirisnmu755; path=/; HttpOnly
|
148
|
+
Expires:
|
153
149
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
154
|
-
|
150
|
+
Cache-Control:
|
151
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
152
|
+
Pragma:
|
155
153
|
- no-cache
|
156
|
-
|
157
|
-
- app=oobo0vdevu65ropc240k0sg3u0; path=/; HttpOnly
|
158
|
-
body:
|
154
|
+
body:
|
159
155
|
encoding: US-ASCII
|
160
|
-
string:
|
161
|
-
http_version:
|
162
|
-
recorded_at:
|
163
|
-
- request:
|
156
|
+
string: "{\"status\":\"ok\",\"request_time\":1385793277,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"ok\"}]}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
159
|
+
- request:
|
164
160
|
method: post
|
165
161
|
uri: http://api.serpmetrics.com/keywords/all
|
166
|
-
body:
|
162
|
+
body:
|
167
163
|
encoding: US-ASCII
|
168
|
-
string: key
|
169
|
-
headers:
|
170
|
-
Content-Type:
|
164
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
|
165
|
+
headers:
|
166
|
+
Content-Type:
|
171
167
|
- application/x-www-form-urlencoded
|
172
|
-
response:
|
173
|
-
status:
|
168
|
+
response:
|
169
|
+
status:
|
174
170
|
code: 200
|
175
171
|
message: OK
|
176
|
-
headers:
|
177
|
-
Server:
|
178
|
-
- nginx
|
179
|
-
Date:
|
180
|
-
-
|
181
|
-
Content-Type:
|
172
|
+
headers:
|
173
|
+
Server:
|
174
|
+
- nginx/1.2.9
|
175
|
+
Date:
|
176
|
+
- Sat, 30 Nov 2013 06:29:46 GMT
|
177
|
+
Content-Type:
|
182
178
|
- application/json; charset=UTF-8
|
183
|
-
|
184
|
-
-
|
185
|
-
Connection:
|
186
|
-
-
|
187
|
-
|
188
|
-
-
|
189
|
-
|
190
|
-
-
|
191
|
-
Expires:
|
179
|
+
Transfer-Encoding:
|
180
|
+
- chunked
|
181
|
+
Connection:
|
182
|
+
- close
|
183
|
+
X-Powered-By:
|
184
|
+
- PHP/5.4.13--pl1-gentoo
|
185
|
+
Set-Cookie:
|
186
|
+
- app=i7g3tcjobufi7nq3f4j927i3n5; path=/; HttpOnly
|
187
|
+
Expires:
|
192
188
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
193
|
-
|
189
|
+
Cache-Control:
|
190
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
191
|
+
Pragma:
|
194
192
|
- no-cache
|
195
|
-
|
196
|
-
- app=cucmq7791diqqrsebdi2lr7et0; path=/; HttpOnly
|
197
|
-
X-Cache:
|
198
|
-
- OrchestraCache
|
199
|
-
X-Orchestra-Scheme:
|
200
|
-
- http
|
201
|
-
body:
|
193
|
+
body:
|
202
194
|
encoding: US-ASCII
|
203
|
-
string:
|
204
|
-
http_version:
|
205
|
-
recorded_at:
|
195
|
+
string: "{\"status\":\"ok\",\"request_time\":1385792986,\"data\":[]}"
|
196
|
+
http_version:
|
197
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
206
198
|
recorded_with: VCR 2.4.0
|
@@ -1,200 +1,198 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://api.serpmetrics.com/keywords/add
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: key
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
8
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D¶ms=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%7D
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
12
|
-
response:
|
13
|
-
status:
|
12
|
+
response:
|
13
|
+
status:
|
14
14
|
code: 201
|
15
15
|
message: Created
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- nginx
|
19
|
-
Date:
|
20
|
-
-
|
21
|
-
Content-Type:
|
16
|
+
headers:
|
17
|
+
Server:
|
18
|
+
- nginx/1.2.9
|
19
|
+
Date:
|
20
|
+
- Sat, 30 Nov 2013 06:35:52 GMT
|
21
|
+
Content-Type:
|
22
22
|
- application/json; charset=UTF-8
|
23
|
-
|
24
|
-
-
|
25
|
-
Connection:
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Connection:
|
26
|
+
- close
|
27
|
+
X-Powered-By:
|
28
|
+
- PHP/5.4.13--pl1-gentoo
|
29
|
+
Set-Cookie:
|
30
|
+
- app=g1i5m2ml2v6ql66uvim10bvgs6; path=/; HttpOnly
|
31
|
+
Expires:
|
30
32
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
31
|
-
|
33
|
+
Cache-Control:
|
34
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
35
|
+
Pragma:
|
32
36
|
- no-cache
|
33
|
-
|
34
|
-
- app=as3renekp9m4mdfejdpfc1vcs1; path=/; HttpOnly
|
35
|
-
body:
|
37
|
+
body:
|
36
38
|
encoding: US-ASCII
|
37
|
-
string:
|
38
|
-
http_version:
|
39
|
-
recorded_at:
|
40
|
-
- request:
|
39
|
+
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"keyword\":\"restaurants\",\"engines\":[\"google_en-us\"]}}"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
42
|
+
- request:
|
41
43
|
method: post
|
42
44
|
uri: http://api.serpmetrics.com/keywords/delete
|
43
|
-
body:
|
45
|
+
body:
|
44
46
|
encoding: US-ASCII
|
45
|
-
string: key
|
46
|
-
headers:
|
47
|
-
Content-Type:
|
47
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
48
|
+
headers:
|
49
|
+
Content-Type:
|
48
50
|
- application/x-www-form-urlencoded
|
49
|
-
response:
|
50
|
-
status:
|
51
|
+
response:
|
52
|
+
status:
|
51
53
|
code: 201
|
52
54
|
message: Created
|
53
|
-
headers:
|
54
|
-
Server:
|
55
|
-
- nginx
|
56
|
-
Date:
|
57
|
-
-
|
58
|
-
Content-Type:
|
55
|
+
headers:
|
56
|
+
Server:
|
57
|
+
- nginx/1.2.9
|
58
|
+
Date:
|
59
|
+
- Sat, 30 Nov 2013 06:29:47 GMT
|
60
|
+
Content-Type:
|
59
61
|
- application/json; charset=UTF-8
|
60
|
-
|
61
|
-
-
|
62
|
-
Connection:
|
63
|
-
-
|
64
|
-
|
65
|
-
-
|
66
|
-
|
62
|
+
Transfer-Encoding:
|
63
|
+
- chunked
|
64
|
+
Connection:
|
65
|
+
- close
|
66
|
+
X-Powered-By:
|
67
|
+
- PHP/5.4.13--pl1-gentoo
|
68
|
+
Set-Cookie:
|
69
|
+
- app=qcadou30lpj397b8cts8fd1gg6; path=/; HttpOnly
|
70
|
+
Expires:
|
67
71
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
68
|
-
|
72
|
+
Cache-Control:
|
73
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
74
|
+
Pragma:
|
69
75
|
- no-cache
|
70
|
-
|
71
|
-
- app=juucrh5u5el1tu6icc0sidirk3; path=/; HttpOnly
|
72
|
-
body:
|
76
|
+
body:
|
73
77
|
encoding: US-ASCII
|
74
|
-
string:
|
75
|
-
http_version:
|
76
|
-
recorded_at:
|
77
|
-
- request:
|
78
|
+
string: "{\"status\":\"ok\",\"request_time\":1385792987,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"ok\"}]}"
|
79
|
+
http_version:
|
80
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
81
|
+
- request:
|
78
82
|
method: post
|
79
83
|
uri: http://api.serpmetrics.com/keywords/delete
|
80
|
-
body:
|
84
|
+
body:
|
81
85
|
encoding: US-ASCII
|
82
|
-
string: key
|
83
|
-
headers:
|
84
|
-
Content-Type:
|
86
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
87
|
+
headers:
|
88
|
+
Content-Type:
|
85
89
|
- application/x-www-form-urlencoded
|
86
|
-
response:
|
87
|
-
status:
|
90
|
+
response:
|
91
|
+
status:
|
88
92
|
code: 201
|
89
93
|
message: Created
|
90
|
-
headers:
|
91
|
-
Server:
|
92
|
-
- nginx
|
93
|
-
Date:
|
94
|
-
-
|
95
|
-
Content-Type:
|
94
|
+
headers:
|
95
|
+
Server:
|
96
|
+
- nginx/1.2.9
|
97
|
+
Date:
|
98
|
+
- Sat, 30 Nov 2013 06:30:15 GMT
|
99
|
+
Content-Type:
|
96
100
|
- application/json; charset=UTF-8
|
97
|
-
|
98
|
-
-
|
99
|
-
Connection:
|
100
|
-
-
|
101
|
-
|
102
|
-
-
|
103
|
-
|
101
|
+
Transfer-Encoding:
|
102
|
+
- chunked
|
103
|
+
Connection:
|
104
|
+
- close
|
105
|
+
X-Powered-By:
|
106
|
+
- PHP/5.4.13--pl1-gentoo
|
107
|
+
Set-Cookie:
|
108
|
+
- app=2noogi84cahptp84lqcr82rh67; path=/; HttpOnly
|
109
|
+
Expires:
|
104
110
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
105
|
-
|
111
|
+
Cache-Control:
|
112
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
113
|
+
Pragma:
|
106
114
|
- no-cache
|
107
|
-
|
108
|
-
- app=0mip433jnlgo4avrmaehglvts0; path=/; HttpOnly
|
109
|
-
body:
|
115
|
+
body:
|
110
116
|
encoding: US-ASCII
|
111
|
-
string:
|
112
|
-
http_version:
|
113
|
-
recorded_at:
|
114
|
-
- request:
|
117
|
+
string: "{\"status\":\"ok\",\"request_time\":1385793015,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"failed\"}]}"
|
118
|
+
http_version:
|
119
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
120
|
+
- request:
|
115
121
|
method: post
|
116
122
|
uri: http://api.serpmetrics.com/keywords/all
|
117
|
-
body:
|
123
|
+
body:
|
118
124
|
encoding: US-ASCII
|
119
|
-
string: key
|
120
|
-
headers:
|
121
|
-
Content-Type:
|
125
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
|
126
|
+
headers:
|
127
|
+
Content-Type:
|
122
128
|
- application/x-www-form-urlencoded
|
123
|
-
response:
|
124
|
-
status:
|
129
|
+
response:
|
130
|
+
status:
|
125
131
|
code: 200
|
126
132
|
message: OK
|
127
|
-
headers:
|
128
|
-
Server:
|
129
|
-
- nginx
|
130
|
-
Date:
|
131
|
-
-
|
132
|
-
Content-Type:
|
133
|
+
headers:
|
134
|
+
Server:
|
135
|
+
- nginx/1.2.9
|
136
|
+
Date:
|
137
|
+
- Sat, 30 Nov 2013 06:29:49 GMT
|
138
|
+
Content-Type:
|
133
139
|
- application/json; charset=UTF-8
|
134
|
-
|
135
|
-
-
|
136
|
-
Connection:
|
137
|
-
-
|
138
|
-
|
139
|
-
-
|
140
|
-
|
141
|
-
-
|
142
|
-
Expires:
|
140
|
+
Transfer-Encoding:
|
141
|
+
- chunked
|
142
|
+
Connection:
|
143
|
+
- close
|
144
|
+
X-Powered-By:
|
145
|
+
- PHP/5.4.13--pl1-gentoo
|
146
|
+
Set-Cookie:
|
147
|
+
- app=9o2csc3cjo8julra2fnt4ecjs3; path=/; HttpOnly
|
148
|
+
Expires:
|
143
149
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
144
|
-
|
150
|
+
Cache-Control:
|
151
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
152
|
+
Pragma:
|
145
153
|
- no-cache
|
146
|
-
|
147
|
-
- app=j4c7abcmpprugh5qskulog24h4; path=/; HttpOnly
|
148
|
-
X-Cache:
|
149
|
-
- OrchestraCache
|
150
|
-
X-Orchestra-Scheme:
|
151
|
-
- http
|
152
|
-
body:
|
154
|
+
body:
|
153
155
|
encoding: US-ASCII
|
154
|
-
string:
|
155
|
-
http_version:
|
156
|
-
recorded_at:
|
157
|
-
- request:
|
156
|
+
string: "{\"status\":\"ok\",\"request_time\":1385792989,\"data\":[]}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
159
|
+
- request:
|
158
160
|
method: post
|
159
161
|
uri: http://api.serpmetrics.com/keywords/all
|
160
|
-
body:
|
162
|
+
body:
|
161
163
|
encoding: US-ASCII
|
162
|
-
string: key
|
163
|
-
headers:
|
164
|
-
Content-Type:
|
164
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
|
165
|
+
headers:
|
166
|
+
Content-Type:
|
165
167
|
- application/x-www-form-urlencoded
|
166
|
-
response:
|
167
|
-
status:
|
168
|
+
response:
|
169
|
+
status:
|
168
170
|
code: 200
|
169
171
|
message: OK
|
170
|
-
headers:
|
171
|
-
Server:
|
172
|
-
- nginx
|
173
|
-
Date:
|
174
|
-
-
|
175
|
-
Content-Type:
|
172
|
+
headers:
|
173
|
+
Server:
|
174
|
+
- nginx/1.2.9
|
175
|
+
Date:
|
176
|
+
- Sat, 30 Nov 2013 06:35:56 GMT
|
177
|
+
Content-Type:
|
176
178
|
- application/json; charset=UTF-8
|
177
|
-
|
178
|
-
-
|
179
|
-
Connection:
|
180
|
-
-
|
181
|
-
|
182
|
-
-
|
183
|
-
|
184
|
-
-
|
185
|
-
Expires:
|
179
|
+
Transfer-Encoding:
|
180
|
+
- chunked
|
181
|
+
Connection:
|
182
|
+
- close
|
183
|
+
X-Powered-By:
|
184
|
+
- PHP/5.4.13--pl1-gentoo
|
185
|
+
Set-Cookie:
|
186
|
+
- app=bi3r2cn4c70uq8rnmuq9oeoob2; path=/; HttpOnly
|
187
|
+
Expires:
|
186
188
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
187
|
-
|
189
|
+
Cache-Control:
|
190
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
191
|
+
Pragma:
|
188
192
|
- no-cache
|
189
|
-
|
190
|
-
- app=o7nm67jdvhj52mlk7373govbs6; path=/; HttpOnly
|
191
|
-
X-Cache:
|
192
|
-
- OrchestraCache
|
193
|
-
X-Orchestra-Scheme:
|
194
|
-
- http
|
195
|
-
body:
|
193
|
+
body:
|
196
194
|
encoding: US-ASCII
|
197
|
-
string:
|
198
|
-
http_version:
|
199
|
-
recorded_at:
|
195
|
+
string: "{\"status\":\"ok\",\"request_time\":1385793356,\"data\":[]}"
|
196
|
+
http_version:
|
197
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
200
198
|
recorded_with: VCR 2.4.0
|