brapi 0.0.1 → 0.0.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69432dc97f4f14d700b656c35d8a0b4da8fae685
|
|
4
|
+
data.tar.gz: c5b1c503059a53b4880c414e28f1bd682d5d12d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53fa00c0cef09d7576d42019ee7c29d69a4b026babe84d9cd3536ce17f9ad66263f0c9505db4b2c650ba84f6619f3581b6da75cf825892f32f2812541c1f2f58
|
|
7
|
+
data.tar.gz: 7db94cb9bb96ca893be255a224c7e368d8d573259ea40e0c3a49c1d04e90664abb013f10619e37602a662d8124ce1fce32afb18271b3014f0fea7c1780928137
|
data/CHANGELOG.md
CHANGED
data/lib/brapi/client.rb
CHANGED
data/lib/brapi/version.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri:
|
|
5
|
+
uri: http://x:<BRAPI_ACCESS_TOKEN>@brapi.io/api/v1/zipcodes/ABS.json
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -23,13 +23,13 @@ http_interactions:
|
|
|
23
23
|
Content-Type:
|
|
24
24
|
- application/json; charset=utf-8
|
|
25
25
|
Date:
|
|
26
|
-
- Wed, 05 Feb 2014
|
|
26
|
+
- Wed, 05 Feb 2014 16:59:24 GMT
|
|
27
27
|
Status:
|
|
28
28
|
- 404 Not Found
|
|
29
29
|
X-Request-Id:
|
|
30
|
-
-
|
|
30
|
+
- d9e41833-91a8-494e-8b24-1fb5cbc2da8c
|
|
31
31
|
X-Runtime:
|
|
32
|
-
- '
|
|
32
|
+
- '3.269434'
|
|
33
33
|
Content-Length:
|
|
34
34
|
- '36'
|
|
35
35
|
Connection:
|
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
|
38
38
|
encoding: UTF-8
|
|
39
39
|
string: "{\"status\":\"404\",\"error\":\"Not Found\"}"
|
|
40
40
|
http_version:
|
|
41
|
-
recorded_at: Wed, 05 Feb 2014
|
|
41
|
+
recorded_at: Wed, 05 Feb 2014 16:59:24 GMT
|
|
42
42
|
recorded_with: VCR 2.8.0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri:
|
|
5
|
+
uri: http://x:<BRAPI_ACCESS_TOKEN>@brapi.io/api/v1/zipcodes/6720050.json
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
|
25
25
|
Content-Type:
|
|
26
26
|
- application/json; charset=utf-8
|
|
27
27
|
Date:
|
|
28
|
-
- Wed, 05 Feb 2014
|
|
28
|
+
- Wed, 05 Feb 2014 16:58:58 GMT
|
|
29
29
|
Etag:
|
|
30
30
|
- "\"186c04cfe69b92b322d8069ad1d1d468\""
|
|
31
31
|
Last-Modified:
|
|
@@ -43,9 +43,9 @@ http_interactions:
|
|
|
43
43
|
X-Ratelimit-Remaining:
|
|
44
44
|
- '499'
|
|
45
45
|
X-Request-Id:
|
|
46
|
-
-
|
|
46
|
+
- ddbb9614-f87f-4e2c-8725-feaaebfb213b
|
|
47
47
|
X-Runtime:
|
|
48
|
-
- '0.
|
|
48
|
+
- '0.196535'
|
|
49
49
|
X-Ua-Compatible:
|
|
50
50
|
- chrome=1
|
|
51
51
|
X-Xss-Protection:
|
|
@@ -59,5 +59,5 @@ http_interactions:
|
|
|
59
59
|
string: "{\"zipcode\":\"6720050\",\"address_type\":\"Rua\",\"address\":\"Ciro
|
|
60
60
|
Monteiro\",\"neighborhood\":\"Parque Mirante da Mata\",\"city\":\"Cotia\",\"city_ibge_code\":\"3513009\",\"state\":\"SP\"}"
|
|
61
61
|
http_version:
|
|
62
|
-
recorded_at: Wed, 05 Feb 2014
|
|
62
|
+
recorded_at: Wed, 05 Feb 2014 16:58:58 GMT
|
|
63
63
|
recorded_with: VCR 2.8.0
|