serp_metrics 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -3
- data/lib/serp_metrics.rb +1 -1
- data/lib/serp_metrics/command_sets/queues.rb +3 -0
- data/lib/serp_metrics/command_sets/queues/base.rb +25 -0
- data/lib/serp_metrics/command_sets/queues/delayed.rb +15 -0
- data/lib/serp_metrics/command_sets/queues/priority.rb +15 -0
- data/lib/serp_metrics/commands.rb +6 -2
- data/lib/serp_metrics/version.rb +1 -1
- data/spec/cassettes/serp_metrics__command_sets__account/credit_fetches_credit_information.yml +5 -5
- data/spec/cassettes/serp_metrics__command_sets__account/time_fetches_time.yml +4 -4
- data/spec/cassettes/serp_metrics__command_sets__engines/codes_fetches_search_engine_codes.yml +5 -5
- data/spec/cassettes/serp_metrics__command_sets__flux/flux_fetches_flux_trend.yml +5 -5
- data/spec/cassettes/serp_metrics__command_sets__keywords/add_adds_keyword.yml +19 -19
- data/spec/cassettes/serp_metrics__command_sets__keywords/all_retrieves_keywords.yml +24 -24
- data/spec/cassettes/serp_metrics__command_sets__keywords/check_retrieves_checks.yml +24 -24
- data/spec/cassettes/serp_metrics__command_sets__keywords/remove_removes_keyword.yml +24 -24
- data/spec/cassettes/serp_metrics__command_sets__keywords/serp_retrieves_serp_for_check.yml +14 -14
- data/spec/cassettes/serp_metrics__command_sets__queues__delayed/add_with_location_adds_delayed.yml +42 -0
- data/spec/cassettes/serp_metrics__command_sets__queues__delayed/add_without_location_adds_delayed.yml +42 -0
- data/spec/cassettes/serp_metrics__command_sets__queues__delayed/get_checks_delayed.yml +81 -0
- data/spec/cassettes/{serp_metrics__command_sets__priorities → serp_metrics__command_sets__queues__priority}/add_with_location_adds_priority.yml +5 -5
- data/spec/cassettes/{serp_metrics__command_sets__priorities → serp_metrics__command_sets__queues__priority}/add_without_location_adds_priority.yml +5 -5
- data/spec/cassettes/{serp_metrics__command_sets__priorities → serp_metrics__command_sets__queues__priority}/get_checks_priority.yml +10 -10
- data/spec/lib/serp_metrics/command_sets/queues/delayed_spec.rb +51 -0
- data/spec/lib/serp_metrics/command_sets/{priorities_spec.rb → queues/priority_spec.rb} +5 -5
- data/spec/lib/serp_metrics/commands_spec.rb +15 -4
- data/spec/spec_helper.rb +1 -1
- metadata +21 -10
- data/lib/serp_metrics/command_sets/priorities.rb +0 -23
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://api.serpmetrics.com/keywords/add
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
8
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%7D
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Server:
|
18
18
|
- nginx/1.2.9
|
19
19
|
Date:
|
20
|
-
- Sat, 30 Nov 2013
|
20
|
+
- Sat, 30 Nov 2013 07:26:31 GMT
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=UTF-8
|
23
23
|
Transfer-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
X-Powered-By:
|
28
28
|
- PHP/5.4.13--pl1-gentoo
|
29
29
|
Set-Cookie:
|
30
|
-
- app=
|
30
|
+
- app=liarcbldqk5mhr7i8u4cjc9oo7; path=/; HttpOnly
|
31
31
|
Expires:
|
32
32
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
33
33
|
Cache-Control:
|
@@ -38,13 +38,13 @@ http_interactions:
|
|
38
38
|
encoding: US-ASCII
|
39
39
|
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"keyword\":\"restaurants\",\"engines\":[\"google_en-us\"]}}"
|
40
40
|
http_version:
|
41
|
-
recorded_at: Sat, 30 Nov 2013
|
41
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
42
42
|
- request:
|
43
43
|
method: post
|
44
44
|
uri: http://api.serpmetrics.com/keywords/check
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
47
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%2C%22engine%22%3A%22google_en-us%22%2C%22limit%22%3A10%7D
|
48
48
|
headers:
|
49
49
|
Content-Type:
|
50
50
|
- application/x-www-form-urlencoded
|
@@ -56,7 +56,7 @@ http_interactions:
|
|
56
56
|
Server:
|
57
57
|
- nginx/1.2.9
|
58
58
|
Date:
|
59
|
-
- Sat, 30 Nov 2013
|
59
|
+
- Sat, 30 Nov 2013 07:31:24 GMT
|
60
60
|
Content-Type:
|
61
61
|
- application/json; charset=UTF-8
|
62
62
|
Transfer-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
X-Powered-By:
|
67
67
|
- PHP/5.4.13--pl1-gentoo
|
68
68
|
Set-Cookie:
|
69
|
-
- app=
|
69
|
+
- app=kd18prjm4p23en2id6fcl7nsj1; path=/; HttpOnly
|
70
70
|
Expires:
|
71
71
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
72
72
|
Cache-Control:
|
@@ -75,15 +75,15 @@ http_interactions:
|
|
75
75
|
- no-cache
|
76
76
|
body:
|
77
77
|
encoding: US-ASCII
|
78
|
-
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"engine\":\"google_en-us\",\"checks\":{\"1385788936\":\"529976084513a7206600008c\"}},\"request_time\":
|
78
|
+
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"engine\":\"google_en-us\",\"checks\":{\"1385788936\":\"529976084513a7206600008c\"}},\"request_time\":1385796684}"
|
79
79
|
http_version:
|
80
|
-
recorded_at: Sat, 30 Nov 2013
|
80
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
81
81
|
- request:
|
82
82
|
method: post
|
83
83
|
uri: http://api.serpmetrics.com/keywords/all
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
86
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D
|
87
87
|
headers:
|
88
88
|
Content-Type:
|
89
89
|
- application/x-www-form-urlencoded
|
@@ -95,7 +95,7 @@ http_interactions:
|
|
95
95
|
Server:
|
96
96
|
- nginx/1.2.9
|
97
97
|
Date:
|
98
|
-
- Sat, 30 Nov 2013
|
98
|
+
- Sat, 30 Nov 2013 07:27:00 GMT
|
99
99
|
Content-Type:
|
100
100
|
- application/json; charset=UTF-8
|
101
101
|
Transfer-Encoding:
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
X-Powered-By:
|
106
106
|
- PHP/5.4.13--pl1-gentoo
|
107
107
|
Set-Cookie:
|
108
|
-
- app=
|
108
|
+
- app=r4hf0tcbsekg875tj2vj9f1qa0; path=/; HttpOnly
|
109
109
|
Expires:
|
110
110
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
111
111
|
Cache-Control:
|
@@ -114,15 +114,15 @@ http_interactions:
|
|
114
114
|
- no-cache
|
115
115
|
body:
|
116
116
|
encoding: US-ASCII
|
117
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
117
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796420,\"data\":{\"5146926072484b125b000000\":{\"phrase\":\"restaurants\",\"engines\":[\"google_en-us\"]}}}"
|
118
118
|
http_version:
|
119
|
-
recorded_at: Sat, 30 Nov 2013
|
119
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
120
120
|
- request:
|
121
121
|
method: post
|
122
122
|
uri: http://api.serpmetrics.com/keywords/delete
|
123
123
|
body:
|
124
124
|
encoding: US-ASCII
|
125
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
125
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
126
126
|
headers:
|
127
127
|
Content-Type:
|
128
128
|
- application/x-www-form-urlencoded
|
@@ -134,7 +134,7 @@ http_interactions:
|
|
134
134
|
Server:
|
135
135
|
- nginx/1.2.9
|
136
136
|
Date:
|
137
|
-
- Sat, 30 Nov 2013
|
137
|
+
- Sat, 30 Nov 2013 07:31:56 GMT
|
138
138
|
Content-Type:
|
139
139
|
- application/json; charset=UTF-8
|
140
140
|
Transfer-Encoding:
|
@@ -144,7 +144,7 @@ http_interactions:
|
|
144
144
|
X-Powered-By:
|
145
145
|
- PHP/5.4.13--pl1-gentoo
|
146
146
|
Set-Cookie:
|
147
|
-
- app=
|
147
|
+
- app=e32a5q0tuhp9kdhpne54g5k9s6; path=/; HttpOnly
|
148
148
|
Expires:
|
149
149
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
150
150
|
Cache-Control:
|
@@ -153,15 +153,15 @@ http_interactions:
|
|
153
153
|
- no-cache
|
154
154
|
body:
|
155
155
|
encoding: US-ASCII
|
156
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
156
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796716,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"ok\"}]}"
|
157
157
|
http_version:
|
158
|
-
recorded_at: Sat, 30 Nov 2013
|
158
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
159
159
|
- request:
|
160
160
|
method: post
|
161
161
|
uri: http://api.serpmetrics.com/keywords/all
|
162
162
|
body:
|
163
163
|
encoding: US-ASCII
|
164
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
164
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D
|
165
165
|
headers:
|
166
166
|
Content-Type:
|
167
167
|
- application/x-www-form-urlencoded
|
@@ -173,7 +173,7 @@ http_interactions:
|
|
173
173
|
Server:
|
174
174
|
- nginx/1.2.9
|
175
175
|
Date:
|
176
|
-
- Sat, 30 Nov 2013
|
176
|
+
- Sat, 30 Nov 2013 07:22:52 GMT
|
177
177
|
Content-Type:
|
178
178
|
- application/json; charset=UTF-8
|
179
179
|
Transfer-Encoding:
|
@@ -183,7 +183,7 @@ http_interactions:
|
|
183
183
|
X-Powered-By:
|
184
184
|
- PHP/5.4.13--pl1-gentoo
|
185
185
|
Set-Cookie:
|
186
|
-
- app=
|
186
|
+
- app=uqo1b6642ahgrkuh747npevrf3; path=/; HttpOnly
|
187
187
|
Expires:
|
188
188
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
189
189
|
Cache-Control:
|
@@ -192,7 +192,7 @@ http_interactions:
|
|
192
192
|
- no-cache
|
193
193
|
body:
|
194
194
|
encoding: US-ASCII
|
195
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
195
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796172,\"data\":[]}"
|
196
196
|
http_version:
|
197
|
-
recorded_at: Sat, 30 Nov 2013
|
197
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
198
198
|
recorded_with: VCR 2.4.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://api.serpmetrics.com/keywords/add
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
8
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%7D
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Server:
|
18
18
|
- nginx/1.2.9
|
19
19
|
Date:
|
20
|
-
- Sat, 30 Nov 2013
|
20
|
+
- Sat, 30 Nov 2013 07:31:12 GMT
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=UTF-8
|
23
23
|
Transfer-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
X-Powered-By:
|
28
28
|
- PHP/5.4.13--pl1-gentoo
|
29
29
|
Set-Cookie:
|
30
|
-
- app=
|
30
|
+
- app=n6168lajn06h7vnm1mg3hhhor5; path=/; HttpOnly
|
31
31
|
Expires:
|
32
32
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
33
33
|
Cache-Control:
|
@@ -38,13 +38,13 @@ http_interactions:
|
|
38
38
|
encoding: US-ASCII
|
39
39
|
string: "{\"status\":\"ok\",\"data\":{\"keyword_id\":\"5146926072484b125b000000\",\"keyword\":\"restaurants\",\"engines\":[\"google_en-us\"]}}"
|
40
40
|
http_version:
|
41
|
-
recorded_at: Sat, 30 Nov 2013
|
41
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
42
42
|
- request:
|
43
43
|
method: post
|
44
44
|
uri: http://api.serpmetrics.com/keywords/delete
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
47
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
48
48
|
headers:
|
49
49
|
Content-Type:
|
50
50
|
- application/x-www-form-urlencoded
|
@@ -56,7 +56,7 @@ http_interactions:
|
|
56
56
|
Server:
|
57
57
|
- nginx/1.2.9
|
58
58
|
Date:
|
59
|
-
- Sat, 30 Nov 2013
|
59
|
+
- Sat, 30 Nov 2013 07:26:47 GMT
|
60
60
|
Content-Type:
|
61
61
|
- application/json; charset=UTF-8
|
62
62
|
Transfer-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
X-Powered-By:
|
67
67
|
- PHP/5.4.13--pl1-gentoo
|
68
68
|
Set-Cookie:
|
69
|
-
- app=
|
69
|
+
- app=cegu6kcqum3g9ihfpvh3ortn00; path=/; HttpOnly
|
70
70
|
Expires:
|
71
71
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
72
72
|
Cache-Control:
|
@@ -75,15 +75,15 @@ http_interactions:
|
|
75
75
|
- no-cache
|
76
76
|
body:
|
77
77
|
encoding: US-ASCII
|
78
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
78
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796407,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"ok\"}]}"
|
79
79
|
http_version:
|
80
|
-
recorded_at: Sat, 30 Nov 2013
|
80
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
81
81
|
- request:
|
82
82
|
method: post
|
83
83
|
uri: http://api.serpmetrics.com/keywords/delete
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
86
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
87
87
|
headers:
|
88
88
|
Content-Type:
|
89
89
|
- application/x-www-form-urlencoded
|
@@ -95,7 +95,7 @@ http_interactions:
|
|
95
95
|
Server:
|
96
96
|
- nginx/1.2.9
|
97
97
|
Date:
|
98
|
-
- Sat, 30 Nov 2013
|
98
|
+
- Sat, 30 Nov 2013 07:26:49 GMT
|
99
99
|
Content-Type:
|
100
100
|
- application/json; charset=UTF-8
|
101
101
|
Transfer-Encoding:
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
X-Powered-By:
|
106
106
|
- PHP/5.4.13--pl1-gentoo
|
107
107
|
Set-Cookie:
|
108
|
-
- app=
|
108
|
+
- app=vgp05sluqs0t2eptd7epfivce5; path=/; HttpOnly
|
109
109
|
Expires:
|
110
110
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
111
111
|
Cache-Control:
|
@@ -114,15 +114,15 @@ http_interactions:
|
|
114
114
|
- no-cache
|
115
115
|
body:
|
116
116
|
encoding: US-ASCII
|
117
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
117
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796409,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"failed\"}]}"
|
118
118
|
http_version:
|
119
|
-
recorded_at: Sat, 30 Nov 2013
|
119
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
120
120
|
- request:
|
121
121
|
method: post
|
122
122
|
uri: http://api.serpmetrics.com/keywords/all
|
123
123
|
body:
|
124
124
|
encoding: US-ASCII
|
125
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
125
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D
|
126
126
|
headers:
|
127
127
|
Content-Type:
|
128
128
|
- application/x-www-form-urlencoded
|
@@ -134,7 +134,7 @@ http_interactions:
|
|
134
134
|
Server:
|
135
135
|
- nginx/1.2.9
|
136
136
|
Date:
|
137
|
-
- Sat, 30 Nov 2013
|
137
|
+
- Sat, 30 Nov 2013 07:31:44 GMT
|
138
138
|
Content-Type:
|
139
139
|
- application/json; charset=UTF-8
|
140
140
|
Transfer-Encoding:
|
@@ -144,7 +144,7 @@ http_interactions:
|
|
144
144
|
X-Powered-By:
|
145
145
|
- PHP/5.4.13--pl1-gentoo
|
146
146
|
Set-Cookie:
|
147
|
-
- app=
|
147
|
+
- app=37kc8g6n523o15at3fi55cnnj4; path=/; HttpOnly
|
148
148
|
Expires:
|
149
149
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
150
150
|
Cache-Control:
|
@@ -153,15 +153,15 @@ http_interactions:
|
|
153
153
|
- no-cache
|
154
154
|
body:
|
155
155
|
encoding: US-ASCII
|
156
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
156
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796704,\"data\":[]}"
|
157
157
|
http_version:
|
158
|
-
recorded_at: Sat, 30 Nov 2013
|
158
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
159
159
|
- request:
|
160
160
|
method: post
|
161
161
|
uri: http://api.serpmetrics.com/keywords/all
|
162
162
|
body:
|
163
163
|
encoding: US-ASCII
|
164
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
164
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D
|
165
165
|
headers:
|
166
166
|
Content-Type:
|
167
167
|
- application/x-www-form-urlencoded
|
@@ -173,7 +173,7 @@ http_interactions:
|
|
173
173
|
Server:
|
174
174
|
- nginx/1.2.9
|
175
175
|
Date:
|
176
|
-
- Sat, 30 Nov 2013
|
176
|
+
- Sat, 30 Nov 2013 07:26:25 GMT
|
177
177
|
Content-Type:
|
178
178
|
- application/json; charset=UTF-8
|
179
179
|
Transfer-Encoding:
|
@@ -183,7 +183,7 @@ http_interactions:
|
|
183
183
|
X-Powered-By:
|
184
184
|
- PHP/5.4.13--pl1-gentoo
|
185
185
|
Set-Cookie:
|
186
|
-
- app=
|
186
|
+
- app=oocvpnlp2f2sr0hshf7uj5mcq6; path=/; HttpOnly
|
187
187
|
Expires:
|
188
188
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
189
189
|
Cache-Control:
|
@@ -192,7 +192,7 @@ http_interactions:
|
|
192
192
|
- no-cache
|
193
193
|
body:
|
194
194
|
encoding: US-ASCII
|
195
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
195
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796385,\"data\":[]}"
|
196
196
|
http_version:
|
197
|
-
recorded_at: Sat, 30 Nov 2013
|
197
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
198
198
|
recorded_with: VCR 2.4.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://api.serpmetrics.com/keywords/serp
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
8
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D¶ms=%7B%22check_id%22%3A%2203bcc63a-dc00-4a41-8010-4fc3346e85b5%22%2C%22domain%22%3Anull%7D
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Server:
|
18
18
|
- nginx/1.2.9
|
19
19
|
Date:
|
20
|
-
- Sat, 30 Nov 2013
|
20
|
+
- Sat, 30 Nov 2013 07:26:26 GMT
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=UTF-8
|
23
23
|
Transfer-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
X-Powered-By:
|
28
28
|
- PHP/5.4.13--pl1-gentoo
|
29
29
|
Set-Cookie:
|
30
|
-
- app=
|
30
|
+
- app=9k23oqd20o9ivfugsil0pmpgb4; path=/; HttpOnly
|
31
31
|
Expires:
|
32
32
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
33
33
|
Cache-Control:
|
@@ -38,13 +38,13 @@ http_interactions:
|
|
38
38
|
encoding: US-ASCII
|
39
39
|
string: "{\"status\":\"error\",\"message\":\"Supplied check_id not found: 03bcc63a-dc00-4a41-8010-4fc3346e85b5\"}"
|
40
40
|
http_version:
|
41
|
-
recorded_at: Sat, 30 Nov 2013
|
41
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
42
42
|
- request:
|
43
43
|
method: post
|
44
44
|
uri: http://api.serpmetrics.com/keywords/all
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
47
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D
|
48
48
|
headers:
|
49
49
|
Content-Type:
|
50
50
|
- application/x-www-form-urlencoded
|
@@ -56,7 +56,7 @@ http_interactions:
|
|
56
56
|
Server:
|
57
57
|
- nginx/1.2.9
|
58
58
|
Date:
|
59
|
-
- Sat, 30 Nov 2013
|
59
|
+
- Sat, 30 Nov 2013 07:31:48 GMT
|
60
60
|
Content-Type:
|
61
61
|
- application/json; charset=UTF-8
|
62
62
|
Transfer-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
X-Powered-By:
|
67
67
|
- PHP/5.4.13--pl1-gentoo
|
68
68
|
Set-Cookie:
|
69
|
-
- app=
|
69
|
+
- app=f3grctiq7eo3kb2cdjdi58a4p3; path=/; HttpOnly
|
70
70
|
Expires:
|
71
71
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
72
72
|
Cache-Control:
|
@@ -75,15 +75,15 @@ http_interactions:
|
|
75
75
|
- no-cache
|
76
76
|
body:
|
77
77
|
encoding: US-ASCII
|
78
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
78
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796708,\"data\":[]}"
|
79
79
|
http_version:
|
80
|
-
recorded_at: Sat, 30 Nov 2013
|
80
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
81
81
|
- request:
|
82
82
|
method: post
|
83
83
|
uri: http://api.serpmetrics.com/keywords/all
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
|
-
string: key=<SERP_METRICS_KEY_ENCODED>&ts=
|
86
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385796397&auth=gZhSCcStSVOKWve6sdJ5jpgyFNw2gXBc5HIth%2FIV92w%3D
|
87
87
|
headers:
|
88
88
|
Content-Type:
|
89
89
|
- application/x-www-form-urlencoded
|
@@ -95,7 +95,7 @@ http_interactions:
|
|
95
95
|
Server:
|
96
96
|
- nginx/1.2.9
|
97
97
|
Date:
|
98
|
-
- Sat, 30 Nov 2013
|
98
|
+
- Sat, 30 Nov 2013 07:26:55 GMT
|
99
99
|
Content-Type:
|
100
100
|
- application/json; charset=UTF-8
|
101
101
|
Transfer-Encoding:
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
X-Powered-By:
|
106
106
|
- PHP/5.4.13--pl1-gentoo
|
107
107
|
Set-Cookie:
|
108
|
-
- app=
|
108
|
+
- app=g9ht5hd9lq44j4t850qu472380; path=/; HttpOnly
|
109
109
|
Expires:
|
110
110
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
111
111
|
Cache-Control:
|
@@ -114,7 +114,7 @@ http_interactions:
|
|
114
114
|
- no-cache
|
115
115
|
body:
|
116
116
|
encoding: US-ASCII
|
117
|
-
string: "{\"status\":\"ok\",\"request_time\":
|
117
|
+
string: "{\"status\":\"ok\",\"request_time\":1385796415,\"data\":[]}"
|
118
118
|
http_version:
|
119
|
-
recorded_at: Sat, 30 Nov 2013
|
119
|
+
recorded_at: Sat, 30 Nov 2013 07:26:37 GMT
|
120
120
|
recorded_with: VCR 2.4.0
|