serp_metrics 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,165 +1,120 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
5
  uri: http://api.serpmetrics.com/keywords/serp
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D&params=%7B%22check_id%22%3A%2203bcc63a-dc00-4a41-8010-4fc3346e85b5%22%2C%22domain%22%3Anull%7D
9
- headers:
10
- Content-Type:
8
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D&params=%7B%22check_id%22%3A%2203bcc63a-dc00-4a41-8010-4fc3346e85b5%22%2C%22domain%22%3Anull%7D
9
+ headers:
10
+ Content-Type:
11
11
  - application/x-www-form-urlencoded
12
- response:
13
- status:
12
+ response:
13
+ status:
14
14
  code: 404
15
15
  message: Not Found
16
- headers:
17
- Server:
18
- - nginx
19
- Date:
20
- - Mon, 18 Mar 2013 05:35:31 GMT
21
- Content-Type:
16
+ headers:
17
+ Server:
18
+ - nginx/1.2.9
19
+ Date:
20
+ - Sat, 30 Nov 2013 06:25:55 GMT
21
+ Content-Type:
22
22
  - application/json; charset=UTF-8
23
- Content-Length:
24
- - '96'
25
- Connection:
26
- - keep-alive
27
- Vary:
28
- - Accept-Encoding
29
- Cache-Control:
30
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
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=p029h9bol4c69hp7fm7vhpku14; path=/; HttpOnly
31
+ Expires:
32
32
  - Thu, 19 Nov 1981 08:52:00 GMT
33
- Pragma:
33
+ Cache-Control:
34
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
35
+ Pragma:
34
36
  - no-cache
35
- Set-Cookie:
36
- - app=7p5nv2o0cgbi9k2arrbiam2of2; path=/; HttpOnly
37
- body:
37
+ body:
38
38
  encoding: US-ASCII
39
- string: ! '{"status":"error","message":"Supplied check_id not found: 03bcc63a-dc00-4a41-8010-4fc3346e85b5"}'
40
- http_version: !!null
41
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
42
- - request:
39
+ string: "{\"status\":\"error\",\"message\":\"Supplied check_id not found: 03bcc63a-dc00-4a41-8010-4fc3346e85b5\"}"
40
+ http_version:
41
+ recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
42
+ - request:
43
43
  method: post
44
44
  uri: http://api.serpmetrics.com/keywords/all
45
- body:
45
+ body:
46
46
  encoding: US-ASCII
47
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D
48
- headers:
49
- Content-Type:
47
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
48
+ headers:
49
+ Content-Type:
50
50
  - application/x-www-form-urlencoded
51
- response:
52
- status:
51
+ response:
52
+ status:
53
53
  code: 200
54
54
  message: OK
55
- headers:
56
- Server:
57
- - nginx
58
- Date:
59
- - Mon, 18 Mar 2013 05:35:32 GMT
60
- Content-Type:
55
+ headers:
56
+ Server:
57
+ - nginx/1.2.9
58
+ Date:
59
+ - Sat, 30 Nov 2013 06:35:00 GMT
60
+ Content-Type:
61
61
  - application/json; charset=UTF-8
62
- Content-Length:
63
- - '129'
64
- Connection:
65
- - keep-alive
66
- Vary:
67
- - Accept-Encoding
68
- Cache-Control:
69
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
70
- 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=0fr0p92itj8qdrp1jrvabkbpn7; path=/; HttpOnly
70
+ Expires:
71
71
  - Thu, 19 Nov 1981 08:52:00 GMT
72
- Pragma:
73
- - no-cache
74
- Set-Cookie:
75
- - app=qmgnknis4s88dmq2aqi97ee4e7; path=/; HttpOnly
76
- X-Cache:
77
- - OrchestraCache
78
- X-Orchestra-Scheme:
79
- - http
80
- body:
81
- encoding: US-ASCII
82
- string: ! '{"status":"ok","request_time":1363585090,"data":{"5146926072484b125b000000":{"phrase":"restaurants","engines":["google_en-us"]}}}'
83
- http_version: !!null
84
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
85
- - request:
86
- method: post
87
- uri: http://api.serpmetrics.com/keywords/delete
88
- body:
89
- encoding: US-ASCII
90
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D&params=%7B%22keyword_id%22%3A%225146926072484b125b000000%22%7D
91
- headers:
92
- Content-Type:
93
- - application/x-www-form-urlencoded
94
- response:
95
- status:
96
- code: 201
97
- message: Created
98
- headers:
99
- Server:
100
- - nginx
101
- Date:
102
- - Mon, 18 Mar 2013 05:35:33 GMT
103
- Content-Type:
104
- - application/json; charset=UTF-8
105
- Content-Length:
106
- - '106'
107
- Connection:
108
- - keep-alive
109
- Cache-Control:
72
+ Cache-Control:
110
73
  - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
111
- Expires:
112
- - Thu, 19 Nov 1981 08:52:00 GMT
113
- Pragma:
74
+ Pragma:
114
75
  - no-cache
115
- Set-Cookie:
116
- - app=c8arb0b1kp67671t6ulhg1m1l3; path=/; HttpOnly
117
- body:
76
+ body:
118
77
  encoding: US-ASCII
119
- string: ! '{"status":"ok","request_time":1363585090,"data":[{"keyword_id":"5146926072484b125b000000","status":"ok"}]}'
120
- http_version: !!null
121
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
122
- - request:
78
+ string: "{\"status\":\"ok\",\"request_time\":1385793300,\"data\":[]}"
79
+ http_version:
80
+ recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
81
+ - request:
123
82
  method: post
124
83
  uri: http://api.serpmetrics.com/keywords/all
125
- body:
84
+ body:
126
85
  encoding: US-ASCII
127
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D
128
- headers:
129
- Content-Type:
86
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D
87
+ headers:
88
+ Content-Type:
130
89
  - application/x-www-form-urlencoded
131
- response:
132
- status:
90
+ response:
91
+ status:
133
92
  code: 200
134
93
  message: OK
135
- headers:
136
- Server:
137
- - nginx
138
- Date:
139
- - Mon, 18 Mar 2013 05:35:33 GMT
140
- Content-Type:
94
+ headers:
95
+ Server:
96
+ - nginx/1.2.9
97
+ Date:
98
+ - Sat, 30 Nov 2013 06:30:08 GMT
99
+ Content-Type:
141
100
  - application/json; charset=UTF-8
142
- Content-Length:
143
- - '51'
144
- Connection:
145
- - keep-alive
146
- Vary:
147
- - Accept-Encoding
148
- Cache-Control:
149
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
150
- 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=2da00503jagamv5t3b9d3k4631; path=/; HttpOnly
109
+ Expires:
151
110
  - Thu, 19 Nov 1981 08:52:00 GMT
152
- Pragma:
111
+ Cache-Control:
112
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
113
+ Pragma:
153
114
  - no-cache
154
- Set-Cookie:
155
- - app=pi274dh96jblq3gk01thsvcba3; path=/; HttpOnly
156
- X-Cache:
157
- - OrchestraCache
158
- X-Orchestra-Scheme:
159
- - http
160
- body:
115
+ body:
161
116
  encoding: US-ASCII
162
- string: ! '{"status":"ok","request_time":1363585091,"data":[]}'
163
- http_version: !!null
164
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
117
+ string: "{\"status\":\"ok\",\"request_time\":1385793008,\"data\":[]}"
118
+ http_version:
119
+ recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
165
120
  recorded_with: VCR 2.4.0
@@ -1,40 +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/priority/add
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D&params=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%2C%22location%22%3A%22Nashville%22%7D
9
- headers:
10
- Content-Type:
8
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D&params=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%2C%22location%22%3A%22Nashville%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: 201
15
15
  message: Created
16
- headers:
17
- Server:
18
- - nginx
19
- Date:
20
- - Mon, 18 Mar 2013 05:35:51 GMT
21
- Content-Type:
16
+ headers:
17
+ Server:
18
+ - nginx/1.2.9
19
+ Date:
20
+ - Sat, 30 Nov 2013 06:29:57 GMT
21
+ Content-Type:
22
22
  - application/json; charset=UTF-8
23
- Content-Length:
24
- - '168'
25
- Connection:
26
- - keep-alive
27
- Cache-Control:
28
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
29
- 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=2k26k7kvb49p93tjmpkq5uvfr5; path=/; HttpOnly
31
+ Expires:
30
32
  - Thu, 19 Nov 1981 08:52:00 GMT
31
- Pragma:
33
+ Cache-Control:
34
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
35
+ Pragma:
32
36
  - no-cache
33
- Set-Cookie:
34
- - app=pe19h26kipb7om3fpl84ai2uf6; path=/; HttpOnly
35
- body:
37
+ body:
36
38
  encoding: US-ASCII
37
- string: ! '{"status":"ok","data":[{"phrase":"restaurants","engine_code":"google_en-us","priority_id":"5146a7effc9f6ec52b000013","location":"Nashville"}],"request_time":1363585108}'
38
- http_version: !!null
39
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
39
+ string: "{\"status\":\"ok\",\"data\":[{\"phrase\":\"restaurants\",\"engine_code\":\"google_en-us\",\"priority_id\":\"529987384513a79a160000f6\",\"location\":\"Nashville\"}],\"request_time\":1385792997}"
40
+ http_version:
41
+ recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
40
42
  recorded_with: VCR 2.4.0
@@ -1,40 +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/priority/add
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D&params=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%7D
9
- headers:
10
- Content-Type:
8
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D&params=%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
- - Mon, 18 Mar 2013 05:35:51 GMT
21
- Content-Type:
16
+ headers:
17
+ Server:
18
+ - nginx/1.2.9
19
+ Date:
20
+ - Sat, 30 Nov 2013 06:35:36 GMT
21
+ Content-Type:
22
22
  - application/json; charset=UTF-8
23
- Content-Length:
24
- - '145'
25
- Connection:
26
- - keep-alive
27
- Cache-Control:
28
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
29
- 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=u9m3c52c22r7udpalhqpjn1jo0; path=/; HttpOnly
31
+ Expires:
30
32
  - Thu, 19 Nov 1981 08:52:00 GMT
31
- Pragma:
33
+ Cache-Control:
34
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
35
+ Pragma:
32
36
  - no-cache
33
- Set-Cookie:
34
- - app=gu8a855sid6reic25r744mlev6; path=/; HttpOnly
35
- body:
37
+ body:
36
38
  encoding: US-ASCII
37
- string: ! '{"status":"ok","data":[{"phrase":"restaurants","engine_code":"google_en-us","priority_id":"5146a7effc9f6ec52b000013"}],"request_time":1363585109}'
38
- http_version: !!null
39
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
39
+ string: "{\"status\":\"ok\",\"data\":[{\"phrase\":\"restaurants\",\"engine_code\":\"google_en-us\",\"priority_id\":\"529987384513a79a160000f6\"}],\"request_time\":1385793336}"
40
+ http_version:
41
+ recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
40
42
  recorded_with: VCR 2.4.0
@@ -1,79 +1,81 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
5
  uri: http://api.serpmetrics.com/priority/add
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D&params=%7B%22keyword%22%3A%22restaurants%22%2C%22engines%22%3A%5B%22google_en-us%22%5D%7D
9
- headers:
10
- Content-Type:
8
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D&params=%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
- - Mon, 18 Mar 2013 05:35:49 GMT
21
- Content-Type:
16
+ headers:
17
+ Server:
18
+ - nginx/1.2.9
19
+ Date:
20
+ - Sat, 30 Nov 2013 06:25:48 GMT
21
+ Content-Type:
22
22
  - application/json; charset=UTF-8
23
- Content-Length:
24
- - '145'
25
- Connection:
26
- - keep-alive
27
- Cache-Control:
28
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
29
- 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=hf31q302vsolmdtt9fh3s08fg3; path=/; HttpOnly
31
+ Expires:
30
32
  - Thu, 19 Nov 1981 08:52:00 GMT
31
- Pragma:
33
+ Cache-Control:
34
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
35
+ Pragma:
32
36
  - no-cache
33
- Set-Cookie:
34
- - app=68i5uv8hoc2deqm91hrdb4smo1; path=/; HttpOnly
35
- body:
37
+ body:
36
38
  encoding: US-ASCII
37
- string: ! '{"status":"ok","data":[{"phrase":"restaurants","engine_code":"google_en-us","priority_id":"5146a7effc9f6ec52b000013"}],"request_time":1363585107}'
38
- http_version: !!null
39
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
40
- - request:
39
+ string: "{\"status\":\"ok\",\"data\":[{\"phrase\":\"restaurants\",\"engine_code\":\"google_en-us\",\"priority_id\":\"529987384513a79a160000f6\"}],\"request_time\":1385792748}"
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/priority/status
43
- body:
45
+ body:
44
46
  encoding: US-ASCII
45
- string: key=h31x%25sd22hgjd2s&ts=1363584772&auth=lROO29qiF4QDoLetbhqb2gKopwnfB%2Bo%2F3g7RGDPcXx8%3D&params=%7B%22priority_id%22%3A%225146a7effc9f6ec52b000013%22%7D
46
- headers:
47
- Content-Type:
47
+ string: key=<SERP_METRICS_KEY_ENCODED>&ts=1385792990&auth=IVzZ%2BRFEu%2FTFz13I%2BFwu7GSqx0S1vUhQTK5B3TS6bG8%3D&params=%7B%22priority_id%22%3A%22529987384513a79a160000f6%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: 404
52
54
  message: Not Found
53
- headers:
54
- Server:
55
- - nginx
56
- Date:
57
- - Mon, 18 Mar 2013 05:35:50 GMT
58
- Content-Type:
55
+ headers:
56
+ Server:
57
+ - nginx/1.2.9
58
+ Date:
59
+ - Sat, 30 Nov 2013 06:29:33 GMT
60
+ Content-Type:
59
61
  - application/json; charset=UTF-8
60
- Content-Length:
61
- - '97'
62
- Connection:
63
- - keep-alive
64
- Vary:
65
- - Accept-Encoding
66
- Cache-Control:
67
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
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=ql5mc3pp5ik8184fv5dd4jl890; path=/; HttpOnly
70
+ Expires:
69
71
  - Thu, 19 Nov 1981 08:52:00 GMT
70
- Pragma:
72
+ Cache-Control:
73
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
74
+ Pragma:
71
75
  - no-cache
72
- Set-Cookie:
73
- - app=vs805231hhsur4hjeoi21uq385; path=/; HttpOnly
74
- body:
76
+ body:
75
77
  encoding: US-ASCII
76
- string: ! '{"status":"error","message":"Currently in queue, please retry shortly","request_time":1363585108}'
77
- http_version: !!null
78
- recorded_at: Mon, 18 Mar 2013 05:32:52 GMT
78
+ string: "{\"status\":\"error\",\"message\":\"Currently in queue, please retry shortly\",\"request_time\":1385792973}"
79
+ http_version:
80
+ recorded_at: Sat, 30 Nov 2013 06:29:50 GMT
79
81
  recorded_with: VCR 2.4.0