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,46 +1,42 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://api.serpmetrics.com/flux/trend
|
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%22engine_code%22%3A%22google_en-us%22%2C%22type%22%3A%22daily%22%7D
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
12
|
-
response:
|
13
|
-
status:
|
12
|
+
response:
|
13
|
+
status:
|
14
14
|
code: 200
|
15
15
|
message: OK
|
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:40 GMT
|
21
|
+
Content-Type:
|
22
22
|
- application/json; charset=UTF-8
|
23
|
-
|
24
|
-
-
|
25
|
-
Connection:
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
-
|
31
|
-
Expires:
|
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=0su0bqvhpko4mbg7u7736jm544; path=/; HttpOnly
|
31
|
+
Expires:
|
32
32
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
33
|
-
|
33
|
+
Cache-Control:
|
34
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
35
|
+
Pragma:
|
34
36
|
- no-cache
|
35
|
-
|
36
|
-
- app=kecjthfh9fhguh67937lhdsr27; path=/; HttpOnly
|
37
|
-
X-Cache:
|
38
|
-
- OrchestraCache
|
39
|
-
X-Orchestra-Scheme:
|
40
|
-
- http
|
41
|
-
body:
|
37
|
+
body:
|
42
38
|
encoding: US-ASCII
|
43
|
-
string:
|
44
|
-
http_version:
|
45
|
-
recorded_at:
|
39
|
+
string: "{\"status\":\"error\",\"data\":{\"1383112801\":319,\"1383199201\":333,\"1383285601\":334,\"1383372001\":347,\"1383458401\":334,\"1383544801\":324,\"1383631201\":339,\"1383717601\":342,\"1383804001\":334,\"1383890401\":388,\"1383976801\":371,\"1384063201\":311,\"1384149601\":296,\"1384236001\":297,\"1384322401\":337,\"1384387200\":338,\"1384495201\":469,\"1384581601\":421,\"1384668001\":382,\"1384754401\":387,\"1384840801\":389,\"1384927201\":398,\"1385013601\":412,\"1385100001\":396,\"1385186401\":356,\"1385251200\":363,\"1385359201\":382,\"1385445601\":402,\"1385510400\":452,\"1385596800\":340},\"request_time\":1385793340}"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
46
42
|
recorded_with: VCR 2.4.0
|
@@ -1,163 +1,159 @@
|
|
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:34:56 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=dhgn530usf2tdndv4fip9r12i0; 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=889to07b3u9dm2o4rep69qc3q4; 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/all
|
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
|
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:25:52 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=9grr14cta6p6vu19kcfghkdu17; 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=8i4tgsr8q5hmahcbilgckr0ih0; 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\",\"request_time\":1385792752,\"data\":{\"5146926072484b125b000000\":{\"phrase\":\"restaurants\",\"engines\":[\"google_en-us\"]}}}"
|
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/delete
|
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¶ms=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
|
87
|
+
headers:
|
88
|
+
Content-Type:
|
91
89
|
- application/x-www-form-urlencoded
|
92
|
-
response:
|
93
|
-
status:
|
90
|
+
response:
|
91
|
+
status:
|
94
92
|
code: 201
|
95
93
|
message: Created
|
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:30:03 GMT
|
99
|
+
Content-Type:
|
102
100
|
- application/json; charset=UTF-8
|
103
|
-
|
104
|
-
-
|
105
|
-
Connection:
|
106
|
-
-
|
107
|
-
|
108
|
-
-
|
109
|
-
|
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=3ajp5717h7ftuiso5nq4daspb7; path=/; HttpOnly
|
109
|
+
Expires:
|
110
110
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
111
|
-
|
111
|
+
Cache-Control:
|
112
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
113
|
+
Pragma:
|
112
114
|
- no-cache
|
113
|
-
|
114
|
-
- app=6cabv8hdniorad1f90c9uv25h7; path=/; HttpOnly
|
115
|
-
body:
|
115
|
+
body:
|
116
116
|
encoding: US-ASCII
|
117
|
-
string:
|
118
|
-
http_version:
|
119
|
-
recorded_at:
|
120
|
-
- request:
|
117
|
+
string: "{\"status\":\"ok\",\"request_time\":1385793003,\"data\":[{\"keyword_id\":\"5146926072484b125b000000\",\"status\":\"ok\"}]}"
|
118
|
+
http_version:
|
119
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
120
|
+
- request:
|
121
121
|
method: post
|
122
122
|
uri: http://api.serpmetrics.com/keywords/all
|
123
|
-
body:
|
123
|
+
body:
|
124
124
|
encoding: US-ASCII
|
125
|
-
string: key
|
126
|
-
headers:
|
127
|
-
Content-Type:
|
125
|
+
string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
|
126
|
+
headers:
|
127
|
+
Content-Type:
|
128
128
|
- application/x-www-form-urlencoded
|
129
|
-
response:
|
130
|
-
status:
|
129
|
+
response:
|
130
|
+
status:
|
131
131
|
code: 200
|
132
132
|
message: OK
|
133
|
-
headers:
|
134
|
-
Server:
|
135
|
-
- nginx
|
136
|
-
Date:
|
137
|
-
-
|
138
|
-
Content-Type:
|
133
|
+
headers:
|
134
|
+
Server:
|
135
|
+
- nginx/1.2.9
|
136
|
+
Date:
|
137
|
+
- Sat, 30 Nov 2013 06:35:43 GMT
|
138
|
+
Content-Type:
|
139
139
|
- application/json; charset=UTF-8
|
140
|
-
|
141
|
-
-
|
142
|
-
Connection:
|
143
|
-
-
|
144
|
-
|
145
|
-
-
|
146
|
-
|
147
|
-
-
|
148
|
-
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=h2uc8h0mrtv95jh0hu61isrsp3; path=/; HttpOnly
|
148
|
+
Expires:
|
149
149
|
- Thu, 19 Nov 1981 08:52:00 GMT
|
150
|
-
|
150
|
+
Cache-Control:
|
151
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
152
|
+
Pragma:
|
151
153
|
- no-cache
|
152
|
-
|
153
|
-
- app=fa3bi763rk8empl73suvlk6sv3; path=/; HttpOnly
|
154
|
-
X-Cache:
|
155
|
-
- OrchestraCache
|
156
|
-
X-Orchestra-Scheme:
|
157
|
-
- http
|
158
|
-
body:
|
154
|
+
body:
|
159
155
|
encoding: US-ASCII
|
160
|
-
string:
|
161
|
-
http_version:
|
162
|
-
recorded_at:
|
156
|
+
string: "{\"status\":\"ok\",\"request_time\":1385793343,\"data\":[]}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
163
159
|
recorded_with: VCR 2.4.0
|
@@ -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:35:12 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=enga92lde5enhu29cj8fe4fcn1; 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=p1dg5ev99s8eq3akc3imbuura7; 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/all
|
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
|
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:29:52 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=5vqninp6jei4b5l22q62m4nhn6; 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=nufmvdnj6k05551b2tn1a5hsm1; 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\",\"request_time\":1385792992,\"data\":{\"5146926072484b125b000000\":{\"phrase\":\"restaurants\",\"engines\":[\"google_en-us\"]}}}"
|
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:35:59 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=e5k288n55kieb58bsrs80e79p6; 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=ctc5gbfcrg5nobfp79260emji7; 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\":1385793359,\"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:30:21 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=m1n34nefbr9sec48d4g5vpohu4; 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=hsanu1tee03jk6d738bsk24mh2; 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\":1385793020,\"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:26:11 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=7td8chjme7dpmgbcl62p90d2s5; 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=1ff94qi3bik4k1baqa61vphlq6; 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\":1385792771,\"data\":[]}"
|
196
|
+
http_version:
|
197
|
+
recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
|
206
198
|
recorded_with: VCR 2.4.0
|