zipcodeservices 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +6 -6
- data/README.md +1 -1
- data/lib/ipaddressservices.rb +59 -0
- data/lib/zipcodeservices/version.rb +1 -1
- data/lib/zipcodeservices.rb +18 -0
- data/spec/client_ip_spec.rb +39 -0
- data/spec/client_spec.rb +15 -0
- data/spec/spec_helper.rb +2 -3
- data/spec/vcr_cassettes/json/client_should_get_cities_by_state_id__province_id_.yml +64 -2
- data/spec/vcr_cassettes/json/client_should_get_cities_by_state_id__provinces_id__and_country_id.yml +30 -2
- data/spec/vcr_cassettes/json/client_should_get_countries.yml +64 -2
- data/spec/vcr_cassettes/json/client_should_get_states-provinces_by_country_id.yml +323 -68
- data/spec/vcr_cassettes/json/client_should_get_the_distance_between_zip_codes.yml +32 -2
- data/spec/vcr_cassettes/json/client_should_get_zip_codes_in_radius_of_latitude_and_longitude.yml +125 -2
- data/spec/vcr_cassettes/json/client_should_get_zip_codes_in_radius_of_zip_code.yml +34 -2
- data/spec/vcr_cassettes/json/client_should_retrieve_zip_code_info.yml +64 -2
- data/spec/vcr_cassettes/json/client_should_return_information_on_ip_addresses.yml +35 -2
- data/spec/vcr_cassettes/json/client_should_return_zips_in_radius_of_ip_address.yml +30 -2
- data/spec/vcr_cassettes/xml/client_should_get_zip_codes_in_radius_of_zip_code.yml +42 -2
- data/spec/vcr_cassettes/xml/client_should_retrieve_zip_code_info.yml +64 -2
- data/zipcodeservices.gemspec +2 -2
- metadata +7 -4
- data/xmltest +0 -1
data/spec/vcr_cassettes/json/client_should_get_zip_codes_in_radius_of_latitude_and_longitude.yml
CHANGED
@@ -1,5 +1,128 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc/<API_KEY>/184.98.179.3/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '239'
|
17
|
+
Content-Type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 04:44:19 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
eyJSZXRyaWV2ZVppcENvZGVzSW5SYWRpdXNSZXN1bHQiOlt7IkNpdHkiOiIi
|
29
|
+
LCJDb250aW5lbnQiOiIiLCJDb250aW5lbnRDb2RlIjoiIiwiQ291bnRyeSI6
|
30
|
+
IiIsIkNvdW50cnlDb2RlIjoiIiwiQ291bnR5IjoiIiwiRGlzdGFuY2VBd2F5
|
31
|
+
SW5LaWxvbWV0ZXJzIjowLjAsIkRpc3RhbmNlQXdheUluTWlsZXMiOjAuMCwi
|
32
|
+
TGF0aXR1ZGUiOjAuMCwiTG9uZ2l0dWRlIjowLjAsIlBvc3RhbENvZGUiOiIi
|
33
|
+
LCJTdGF0ZSI6IiJ9XX0=
|
34
|
+
http_version: '1.1'
|
35
|
+
recorded_at: Thu, 31 Jul 2014 04:44:47 GMT
|
36
|
+
- request:
|
37
|
+
method: get
|
38
|
+
uri: https://www.zipcodeservices.com/services/rest/json/ipaddress.svc/<API_KEY>/184.98.179.3/1
|
39
|
+
body:
|
40
|
+
encoding: US-ASCII
|
41
|
+
string: ''
|
42
|
+
headers: {}
|
43
|
+
response:
|
44
|
+
status:
|
45
|
+
code: 404
|
46
|
+
message: Not Found
|
47
|
+
headers:
|
48
|
+
Content-Length:
|
49
|
+
- '1565'
|
50
|
+
Content-Type:
|
51
|
+
- text/html; charset=UTF-8
|
52
|
+
Server:
|
53
|
+
- Microsoft-IIS/7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yzt9
|
90
|
+
IHRhYmxlIHRkIHsgYm9yZGVyLXJpZ2h0OiAycHggd2hpdGUgc29saWQ7IGJv
|
91
|
+
cmRlci1ib3R0b206IDJweCB3aGl0ZSBzb2xpZDsgYmFja2dyb3VuZC1jb2xv
|
92
|
+
cjogI2U1ZTVjYzt9PC9zdHlsZT4NCiAgPC9oZWFkPg0KICA8Ym9keT4NCiAg
|
93
|
+
ICA8ZGl2IGlkPSJjb250ZW50Ij4NCiAgICAgIDxwIGNsYXNzPSJoZWFkaW5n
|
94
|
+
MSI+U2VydmljZTwvcD4NCiAgICAgIDxwPkVuZHBvaW50IG5vdCBmb3VuZC48
|
95
|
+
L3A+DQogICAgPC9kaXY+DQogIDwvYm9keT4NCjwvaHRtbD4=
|
96
|
+
http_version: '1.1'
|
97
|
+
recorded_at: Thu, 31 Jul 2014 04:50:22 GMT
|
98
|
+
- request:
|
99
|
+
method: get
|
100
|
+
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc/GetZipCodesInRadiusLatLong?apikey=&latitude=30.2645715&longitude=-97.7284341&radius=1
|
101
|
+
body:
|
102
|
+
encoding: US-ASCII
|
103
|
+
string: ''
|
104
|
+
headers: {}
|
105
|
+
response:
|
106
|
+
status:
|
107
|
+
code: 200
|
108
|
+
message: OK
|
109
|
+
headers:
|
110
|
+
Content-Length:
|
111
|
+
- '43'
|
112
|
+
Content-Type:
|
113
|
+
- application/json; charset=utf-8
|
114
|
+
Server:
|
115
|
+
- Microsoft-IIS/7.5
|
116
|
+
X-Powered-By:
|
117
|
+
- ASP.NET
|
118
|
+
Date:
|
119
|
+
- Thu, 31 Jul 2014 05:46:09 GMT
|
120
|
+
body:
|
121
|
+
encoding: ASCII-8BIT
|
122
|
+
string: !binary |-
|
123
|
+
eyJHZXRaaXBDb2Rlc0luUmFkaXVzT2ZMYXRMb25nUmVzdWx0IjpudWxsfQ==
|
124
|
+
http_version: '1.1'
|
125
|
+
recorded_at: Thu, 31 Jul 2014 05:46:36 GMT
|
3
126
|
- request:
|
4
127
|
method: get
|
5
128
|
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc/GetZipCodesInRadiusLatLong?apikey=<API_KEY>&latitude=30.2645715&longitude=-97.7284341&radius=1
|
@@ -27,7 +150,7 @@ http_interactions:
|
|
27
150
|
QVNQLk5FVA==
|
28
151
|
!binary "RGF0ZQ==":
|
29
152
|
- !binary |-
|
30
|
-
|
153
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowNCBHTVQ=
|
31
154
|
body:
|
32
155
|
encoding: ASCII-8BIT
|
33
156
|
string: !binary |-
|
@@ -140,5 +263,5 @@ http_interactions:
|
|
140
263
|
bENvZGUiOiI3ODc4OSIsIlN0YXRlIjoiVFgifV19
|
141
264
|
http_version: !binary |-
|
142
265
|
MS4x
|
143
|
-
recorded_at:
|
266
|
+
recorded_at: Thu, 31 Jul 2014 23:41:06 GMT
|
144
267
|
recorded_with: VCR 2.2.4
|
@@ -1,5 +1,37 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc//78702/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '204'
|
17
|
+
Content-Type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 05:46:08 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
eyJSZXRyaWV2ZVppcENvZGVJbmZvUmVzdWx0Ijp7IkNpdHkiOm51bGwsIkNv
|
29
|
+
bnRpbmVudCI6bnVsbCwiQ29udGluZW50Q29kZSI6bnVsbCwiQ291bnRyeSI6
|
30
|
+
bnVsbCwiQ291bnRyeUNvZGUiOm51bGwsIkNvdW50eSI6bnVsbCwiTGF0aXR1
|
31
|
+
ZGUiOjAsIkxvbmdpdHVkZSI6MCwiUG9zdGFsQ29kZSI6bnVsbCwiU3RhdGUi
|
32
|
+
Om51bGwsIlN0YXRlQ29kZSI6bnVsbH19
|
33
|
+
http_version: '1.1'
|
34
|
+
recorded_at: Thu, 31 Jul 2014 05:46:35 GMT
|
3
35
|
- request:
|
4
36
|
method: get
|
5
37
|
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc/<API_KEY>/78702/1
|
@@ -27,7 +59,7 @@ http_interactions:
|
|
27
59
|
QVNQLk5FVA==
|
28
60
|
!binary "RGF0ZQ==":
|
29
61
|
- !binary |-
|
30
|
-
|
62
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowMyBHTVQ=
|
31
63
|
body:
|
32
64
|
encoding: ASCII-8BIT
|
33
65
|
string: !binary |-
|
@@ -435,5 +467,5 @@ http_interactions:
|
|
435
467
|
c3RhbENvZGUiOiI3ODc5OSIsIlN0YXRlIjoiVFgifV19
|
436
468
|
http_version: !binary |-
|
437
469
|
MS4x
|
438
|
-
recorded_at:
|
470
|
+
recorded_at: Thu, 31 Jul 2014 23:41:05 GMT
|
439
471
|
recorded_with: VCR 2.2.4
|
@@ -1,5 +1,67 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc//78702
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 404
|
13
|
+
message: Not Found
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '1565'
|
17
|
+
Content-Type:
|
18
|
+
- text/html; charset=UTF-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 05:46:08 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwh
|
29
|
+
RE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4wIFRy
|
30
|
+
YW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRtbDEv
|
31
|
+
RFREL3hodG1sMS10cmFuc2l0aW9uYWwuZHRkIj4NCjxodG1sIHhtbG5zPSJo
|
32
|
+
dHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sIj4NCiAgPGhlYWQ+DQogICAg
|
33
|
+
PHRpdGxlPlNlcnZpY2U8L3RpdGxlPg0KICAgIDxzdHlsZT5CT0RZIHsgY29s
|
34
|
+
b3I6ICMwMDAwMDA7IGJhY2tncm91bmQtY29sb3I6IHdoaXRlOyBmb250LWZh
|
35
|
+
bWlseTogVmVyZGFuYTsgbWFyZ2luLWxlZnQ6IDBweDsgbWFyZ2luLXRvcDog
|
36
|
+
MHB4OyB9ICNjb250ZW50IHsgbWFyZ2luLWxlZnQ6IDMwcHg7IGZvbnQtc2l6
|
37
|
+
ZTogLjcwZW07IHBhZGRpbmctYm90dG9tOiAyZW07IH0gQTpsaW5rIHsgY29s
|
38
|
+
b3I6ICMzMzY2OTk7IGZvbnQtd2VpZ2h0OiBib2xkOyB0ZXh0LWRlY29yYXRp
|
39
|
+
b246IHVuZGVybGluZTsgfSBBOnZpc2l0ZWQgeyBjb2xvcjogIzY2OTljYzsg
|
40
|
+
Zm9udC13ZWlnaHQ6IGJvbGQ7IHRleHQtZGVjb3JhdGlv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250LXdlaWdodDogYm9sZDsgYmFja2dyb3VuZC1jb2xvcjogI2NlY2Y5Yzt9
|
57
|
+
IHRhYmxlIHRkIHsgYm9yZGVyLXJpZ2h0OiAycHggd2hpdGUgc29saWQ7IGJv
|
58
|
+
cmRlci1ib3R0b206IDJweCB3aGl0ZSBzb2xpZDsgYmFja2dyb3VuZC1jb2xv
|
59
|
+
cjogI2U1ZTVjYzt9PC9zdHlsZT4NCiAgPC9oZWFkPg0KICA8Ym9keT4NCiAg
|
60
|
+
ICA8ZGl2IGlkPSJjb250ZW50Ij4NCiAgICAgIDxwIGNsYXNzPSJoZWFkaW5n
|
61
|
+
MSI+U2VydmljZTwvcD4NCiAgICAgIDxwPkVuZHBvaW50IG5vdCBmb3VuZC48
|
62
|
+
L3A+DQogICAgPC9kaXY+DQogIDwvYm9keT4NCjwvaHRtbD4=
|
63
|
+
http_version: '1.1'
|
64
|
+
recorded_at: Thu, 31 Jul 2014 05:46:35 GMT
|
3
65
|
- request:
|
4
66
|
method: get
|
5
67
|
uri: https://www.zipcodeservices.com/services/rest/json/zipcodes.svc/<API_KEY>/78702
|
@@ -27,7 +89,7 @@ http_interactions:
|
|
27
89
|
QVNQLk5FVA==
|
28
90
|
!binary "RGF0ZQ==":
|
29
91
|
- !binary |-
|
30
|
-
|
92
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowMyBHTVQ=
|
31
93
|
body:
|
32
94
|
encoding: ASCII-8BIT
|
33
95
|
string: !binary |-
|
@@ -40,5 +102,5 @@ http_interactions:
|
|
40
102
|
fQ==
|
41
103
|
http_version: !binary |-
|
42
104
|
MS4x
|
43
|
-
recorded_at:
|
105
|
+
recorded_at: Thu, 31 Jul 2014 23:41:05 GMT
|
44
106
|
recorded_with: VCR 2.2.4
|
@@ -1,5 +1,38 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/json/ipaddress.svc/GetIP?apikey=&ip=184.98.179.3
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '253'
|
17
|
+
Content-Type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 05:46:09 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
eyJSZXRyaWV2ZUlQQWRkcmVzc0RhdGFSZXN1bHQiOnsiQXJlYUNvZGUiOm51
|
29
|
+
bGwsIkNpdHkiOm51bGwsIkNvbnRpbmVudCI6bnVsbCwiQ29udGluZW50Q29k
|
30
|
+
ZSI6bnVsbCwiQ291bnRyeSI6bnVsbCwiQ291bnRyeUNvZGUiOm51bGwsIkNv
|
31
|
+
dW50eSI6bnVsbCwiSVBBZGRyZXNzIjpudWxsLCJJU1AiOm51bGwsIkxhdGl0
|
32
|
+
dWRlIjpudWxsLCJMb25naXR1ZGUiOm51bGwsIlN0YXRlIjpudWxsLCJTdGF0
|
33
|
+
ZUNvZGUiOm51bGwsIlppcENvZGUiOm51bGx9fQ==
|
34
|
+
http_version: '1.1'
|
35
|
+
recorded_at: Thu, 31 Jul 2014 05:46:36 GMT
|
3
36
|
- request:
|
4
37
|
method: get
|
5
38
|
uri: https://www.zipcodeservices.com/services/rest/json/ipaddress.svc/GetIP?apikey=<API_KEY>&ip=184.98.179.3
|
@@ -27,7 +60,7 @@ http_interactions:
|
|
27
60
|
QVNQLk5FVA==
|
28
61
|
!binary "RGF0ZQ==":
|
29
62
|
- !binary |-
|
30
|
-
|
63
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowNyBHTVQ=
|
31
64
|
body:
|
32
65
|
encoding: ASCII-8BIT
|
33
66
|
string: !binary |-
|
@@ -41,5 +74,5 @@ http_interactions:
|
|
41
74
|
aXBDb2RlIjoiODUwMDEifX0=
|
42
75
|
http_version: !binary |-
|
43
76
|
MS4x
|
44
|
-
recorded_at:
|
77
|
+
recorded_at: Thu, 31 Jul 2014 23:41:08 GMT
|
45
78
|
recorded_with: VCR 2.2.4
|
@@ -1,5 +1,33 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/json/ipaddress.svc/GetZipsInRadiusOfIP?apikey=&ip=184.98.179.3&radius=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '43'
|
17
|
+
Content-Type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 05:46:09 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
eyJSZXRyaWV2ZVppcENvZGVzSW5SYWRpdXNPZklQUmVzdWx0IjpudWxsfQ==
|
29
|
+
http_version: '1.1'
|
30
|
+
recorded_at: Thu, 31 Jul 2014 05:46:36 GMT
|
3
31
|
- request:
|
4
32
|
method: get
|
5
33
|
uri: https://www.zipcodeservices.com/services/rest/json/ipaddress.svc/GetZipsInRadiusOfIP?apikey=<API_KEY>&ip=184.98.179.3&radius=1
|
@@ -27,7 +55,7 @@ http_interactions:
|
|
27
55
|
QVNQLk5FVA==
|
28
56
|
!binary "RGF0ZQ==":
|
29
57
|
- !binary |-
|
30
|
-
|
58
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowNyBHTVQ=
|
31
59
|
body:
|
32
60
|
encoding: ASCII-8BIT
|
33
61
|
string: !binary |-
|
@@ -41,5 +69,5 @@ http_interactions:
|
|
41
69
|
dGF0ZSI6IkFaIn1dfQ==
|
42
70
|
http_version: !binary |-
|
43
71
|
MS4x
|
44
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 31 Jul 2014 23:41:08 GMT
|
45
73
|
recorded_with: VCR 2.2.4
|
@@ -1,5 +1,45 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/xml/zipcodes.svc//78702/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '543'
|
17
|
+
Content-Type:
|
18
|
+
- application/xml; charset=utf-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 05:46:09 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
PFJldHJpZXZlWmlwQ29kZUluZm9SZXNwb25zZSB4bWxucz0iaHR0cDovL3Rl
|
29
|
+
bXB1cmkub3JnLyI+PFJldHJpZXZlWmlwQ29kZUluZm9SZXN1bHQgeG1sbnM6
|
30
|
+
YT0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L1pp
|
31
|
+
cHMuRFRPIiB4bWxuczppPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNj
|
32
|
+
aGVtYS1pbnN0YW5jZSI+PGE6Q2l0eSBpOm5pbD0idHJ1ZSIvPjxhOkNvbnRp
|
33
|
+
bmVudCBpOm5pbD0idHJ1ZSIvPjxhOkNvbnRpbmVudENvZGUgaTpuaWw9InRy
|
34
|
+
dWUiLz48YTpDb3VudHJ5IGk6bmlsPSJ0cnVlIi8+PGE6Q291bnRyeUNvZGUg
|
35
|
+
aTpuaWw9InRydWUiLz48YTpDb3VudHkgaTpuaWw9InRydWUiLz48YTpMYXRp
|
36
|
+
dHVkZT4wPC9hOkxhdGl0dWRlPjxhOkxvbmdpdHVkZT4wPC9hOkxvbmdpdHVk
|
37
|
+
ZT48YTpQb3N0YWxDb2RlIGk6bmlsPSJ0cnVlIi8+PGE6U3RhdGUgaTpuaWw9
|
38
|
+
InRydWUiLz48YTpTdGF0ZUNvZGUgaTpuaWw9InRydWUiLz48L1JldHJpZXZl
|
39
|
+
WmlwQ29kZUluZm9SZXN1bHQ+PC9SZXRyaWV2ZVppcENvZGVJbmZvUmVzcG9u
|
40
|
+
c2U+
|
41
|
+
http_version: '1.1'
|
42
|
+
recorded_at: Thu, 31 Jul 2014 05:46:36 GMT
|
3
43
|
- request:
|
4
44
|
method: get
|
5
45
|
uri: https://www.zipcodeservices.com/services/rest/xml/zipcodes.svc/<API_KEY>/78702/1
|
@@ -27,7 +67,7 @@ http_interactions:
|
|
27
67
|
QVNQLk5FVA==
|
28
68
|
!binary "RGF0ZQ==":
|
29
69
|
- !binary |-
|
30
|
-
|
70
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowOCBHTVQ=
|
31
71
|
body:
|
32
72
|
encoding: ASCII-8BIT
|
33
73
|
string: !binary |-
|
@@ -744,5 +784,5 @@ http_interactions:
|
|
744
784
|
b25zZT4=
|
745
785
|
http_version: !binary |-
|
746
786
|
MS4x
|
747
|
-
recorded_at:
|
787
|
+
recorded_at: Thu, 31 Jul 2014 23:41:09 GMT
|
748
788
|
recorded_with: VCR 2.2.4
|
@@ -1,5 +1,67 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.zipcodeservices.com/services/rest/xml/zipcodes.svc//78702
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 404
|
13
|
+
message: Not Found
|
14
|
+
headers:
|
15
|
+
Content-Length:
|
16
|
+
- '1565'
|
17
|
+
Content-Type:
|
18
|
+
- text/html; charset=UTF-8
|
19
|
+
Server:
|
20
|
+
- Microsoft-IIS/7.5
|
21
|
+
X-Powered-By:
|
22
|
+
- ASP.NET
|
23
|
+
Date:
|
24
|
+
- Thu, 31 Jul 2014 05:46:09 GMT
|
25
|
+
body:
|
26
|
+
encoding: ASCII-8BIT
|
27
|
+
string: !binary |-
|
28
|
+
77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwh
|
29
|
+
RE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4wIFRy
|
30
|
+
YW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRtbDEv
|
31
|
+
RFREL3hodG1sMS10cmFuc2l0aW9uYWwuZHRkIj4NCjxodG1sIHhtbG5zPSJo
|
32
|
+
dHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sIj4NCiAgPGhlYWQ+DQogICAg
|
33
|
+
PHRpdGxlPlNlcnZpY2U8L3RpdGxlPg0KICAgIDxzdHlsZT5CT0RZIHsgY29s
|
34
|
+
b3I6ICMwMDAwMDA7IGJhY2tncm91bmQtY29sb3I6IHdoaXRlOyBmb250LWZh
|
35
|
+
bWlseTogVmVyZGFuYTsgbWFyZ2luLWxlZnQ6IDBweDsgbWFyZ2luLXRvcDog
|
36
|
+
MHB4OyB9ICNjb250ZW50IHsgbWFyZ2luLWxlZnQ6IDMwcHg7IGZvbnQ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3JhcDogYnJlYWstd29yZDsgfSB0YWJsZSB7IGJvcmRlci1jb2xs
|
53
|
+
YXBzZTogY29sbGFwc2U7IGJvcmRlci1zcGFjaW5nOiAwcHg7IGZvbnQtZmFt
|
54
|
+
aWx5OiBWZXJkYW5hO30gdGFibGUgdGggeyBib3JkZXItcmlnaHQ6IDJweCB3
|
55
|
+
aGl0ZSBzb2xpZDsgYm9yZGVyLWJvdHRvbTogMnB4IHdoaXRlIHNvbGlkOyBm
|
56
|
+
b250LXdlaWdodDogYm9sZDsgYmFja2dyb3VuZC1jb2xvcjogI2NlY2Y5Yzt9
|
57
|
+
IHRhYmxlIHRkIHsgYm9yZGVyLXJpZ2h0OiAycHggd2hpdGUgc29saWQ7IGJv
|
58
|
+
cmRlci1ib3R0b206IDJweCB3aGl0ZSBzb2xpZDsgYmFja2dyb3VuZC1jb2xv
|
59
|
+
cjogI2U1ZTVjYzt9PC9zdHlsZT4NCiAgPC9oZWFkPg0KICA8Ym9keT4NCiAg
|
60
|
+
ICA8ZGl2IGlkPSJjb250ZW50Ij4NCiAgICAgIDxwIGNsYXNzPSJoZWFkaW5n
|
61
|
+
MSI+U2VydmljZTwvcD4NCiAgICAgIDxwPkVuZHBvaW50IG5vdCBmb3VuZC48
|
62
|
+
L3A+DQogICAgPC9kaXY+DQogIDwvYm9keT4NCjwvaHRtbD4=
|
63
|
+
http_version: '1.1'
|
64
|
+
recorded_at: Thu, 31 Jul 2014 05:46:36 GMT
|
3
65
|
- request:
|
4
66
|
method: get
|
5
67
|
uri: https://www.zipcodeservices.com/services/rest/xml/zipcodes.svc/<API_KEY>/78702
|
@@ -27,7 +89,7 @@ http_interactions:
|
|
27
89
|
QVNQLk5FVA==
|
28
90
|
!binary "RGF0ZQ==":
|
29
91
|
- !binary |-
|
30
|
-
|
92
|
+
VGh1LCAzMSBKdWwgMjAxNCAyMzo0MTowNyBHTVQ=
|
31
93
|
body:
|
32
94
|
encoding: ASCII-8BIT
|
33
95
|
string: !binary |-
|
@@ -47,5 +109,5 @@ http_interactions:
|
|
47
109
|
ZXN1bHQ+PC9SZXRyaWV2ZVppcENvZGVJbmZvUmVzcG9uc2U+
|
48
110
|
http_version: !binary |-
|
49
111
|
MS4x
|
50
|
-
recorded_at:
|
112
|
+
recorded_at: Thu, 31 Jul 2014 23:41:09 GMT
|
51
113
|
recorded_with: VCR 2.2.4
|
data/zipcodeservices.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.date = '2014-05-06'
|
10
10
|
s.summary = "zipcodeservices for zipcodeservices.com"
|
11
11
|
s.description = "Ruby Client for zipcodeservices.com. Gives ip address and radius queries. Visit zipcodeservices.com for more details"
|
12
|
-
s.authors = ["W Watson", "T Carpenter", "Jay Smith"]
|
12
|
+
s.authors = ["W Watson", "T Carpenter", "Jay Smith", "Rachel Loziuk"]
|
13
13
|
s.email = 'wolfpack@vulk.com'
|
14
14
|
s.files = ["lib/zipcodeservices.rb"]
|
15
15
|
s.homepage = 'http://github.com/vulk/zipcodeservices'
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_development_dependency 'rspec', ["~> 2.13"]
|
24
24
|
s.add_development_dependency 'vcr',["~> 2.4"]
|
25
25
|
s.add_development_dependency 'guard-rspec', ["~> 4.2"]
|
26
|
-
s.add_development_dependency 'debugger'
|
26
|
+
s.add_development_dependency 'debugger'
|
27
27
|
|
28
28
|
s.add_runtime_dependency "typhoeus", "0.3.3"
|
29
29
|
s.add_runtime_dependency "multi_xml", ["~> 0.5"]
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zipcodeservices
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- W Watson
|
8
8
|
- T Carpenter
|
9
9
|
- Jay Smith
|
10
|
+
- Rachel Loziuk
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
@@ -58,14 +59,14 @@ dependencies:
|
|
58
59
|
name: debugger
|
59
60
|
requirement: !ruby/object:Gem::Requirement
|
60
61
|
requirements:
|
61
|
-
- -
|
62
|
+
- - ! '>='
|
62
63
|
- !ruby/object:Gem::Version
|
63
64
|
version: '0'
|
64
65
|
type: :development
|
65
66
|
prerelease: false
|
66
67
|
version_requirements: !ruby/object:Gem::Requirement
|
67
68
|
requirements:
|
68
|
-
- -
|
69
|
+
- - ! '>='
|
69
70
|
- !ruby/object:Gem::Version
|
70
71
|
version: '0'
|
71
72
|
- !ruby/object:Gem::Dependency
|
@@ -124,8 +125,10 @@ files:
|
|
124
125
|
- Guardfile
|
125
126
|
- LICENSE
|
126
127
|
- README.md
|
128
|
+
- lib/ipaddressservices.rb
|
127
129
|
- lib/zipcodeservices.rb
|
128
130
|
- lib/zipcodeservices/version.rb
|
131
|
+
- spec/client_ip_spec.rb
|
129
132
|
- spec/client_spec.rb
|
130
133
|
- spec/spec_helper.rb
|
131
134
|
- spec/support/vcr_setup.rb
|
@@ -141,7 +144,6 @@ files:
|
|
141
144
|
- spec/vcr_cassettes/json/client_should_return_zips_in_radius_of_ip_address.yml
|
142
145
|
- spec/vcr_cassettes/xml/client_should_get_zip_codes_in_radius_of_zip_code.yml
|
143
146
|
- spec/vcr_cassettes/xml/client_should_retrieve_zip_code_info.yml
|
144
|
-
- xmltest
|
145
147
|
- zipcodeservices.gemspec
|
146
148
|
homepage: http://github.com/vulk/zipcodeservices
|
147
149
|
licenses:
|
@@ -168,6 +170,7 @@ signing_key:
|
|
168
170
|
specification_version: 4
|
169
171
|
summary: zipcodeservices for zipcodeservices.com
|
170
172
|
test_files:
|
173
|
+
- spec/client_ip_spec.rb
|
171
174
|
- spec/client_spec.rb
|
172
175
|
- spec/spec_helper.rb
|
173
176
|
- spec/support/vcr_setup.rb
|
data/xmltest
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"<GetAllProvincesByCountryIdResponse xmlns=\"http://tempuri.org/\"><GetAllProvincesByCountryIdResult xmlns:a=\"http://schemas.datacontract.org/2004/07/Zips.DTO\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><a:StateDTO><a:Abbreviation>AL</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>1</a:Id><a:State>Alabama</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>AK</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>2</a:Id><a:State>Alaska</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>AS</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>3</a:Id><a:State>American Samoa</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>AZ</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>4</a:Id><a:State>Arizona</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>AR</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>5</a:Id><a:State>Arkansas</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>CA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>6</a:Id><a:State>California</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>CO</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>7</a:Id><a:State>Colorado</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>CT</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>8</a:Id><a:State>Connecticut</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>DC</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>9</a:Id><a:State>District Of Columbia</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>DE</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>10</a:Id><a:State>Delaware</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>FM</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>11</a:Id><a:State>Federated States of Micronesia</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>FL</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>12</a:Id><a:State>Florida</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>GA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>13</a:Id><a:State>Georgia</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>GU</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>14</a:Id><a:State>Guam</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>HI</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>15</a:Id><a:State>Hawaii</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>ID</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>16</a:Id><a:State>Idaho</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>IL</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>17</a:Id><a:State>Illinois</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>IN</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>18</a:Id><a:State>Indiana</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>IA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>19</a:Id><a:State>Iowa</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>KS</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>20</a:Id><a:State>Kansas</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>KY</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>21</a:Id><a:State>Kentucky</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>LA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>22</a:Id><a:State>Louisiana</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>ME</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>23</a:Id><a:State>Maine</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MH</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>24</a:Id><a:State>Marshall Islands</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MD</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>25</a:Id><a:State>Maryland</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>26</a:Id><a:State>Massachusetts</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MI</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>27</a:Id><a:State>Michigan</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MN</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>28</a:Id><a:State>Minnesota</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MS</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>29</a:Id><a:State>Mississippi</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MO</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>30</a:Id><a:State>Missouri</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>MT</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>31</a:Id><a:State>Montana</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NE</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>32</a:Id><a:State>Nebraska</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NV</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>33</a:Id><a:State>Nevada</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NH</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>34</a:Id><a:State>New Hampshire</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NJ</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>35</a:Id><a:State>New Jersey</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NM</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>36</a:Id><a:State>New Mexico</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NY</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>37</a:Id><a:State>New York</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>NC</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>38</a:Id><a:State>North Carolina</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>ND</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>39</a:Id><a:State>North Dakota</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>OH</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>40</a:Id><a:State>Ohio</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>OK</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>41</a:Id><a:State>Oklahoma</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>OR</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>42</a:Id><a:State>Oregon</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>PW</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>43</a:Id><a:State>Palau</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>PA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>44</a:Id><a:State>Pennsylvania</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>PR</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>45</a:Id><a:State>Puerto Rico</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>RI</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>46</a:Id><a:State>Rhode Island</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>SC</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>47</a:Id><a:State>South Carolina</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>SD</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>48</a:Id><a:State>South Dakota</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>TN</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>49</a:Id><a:State>Tennessee</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>TX</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>50</a:Id><a:State>Texas</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>UT</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>51</a:Id><a:State>Utah</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>VT</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>52</a:Id><a:State>Vermont</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>VI</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>53</a:Id><a:State>Virgin Islands</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>VA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>54</a:Id><a:State>Virginia</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>WA</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>55</a:Id><a:State>Washington</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>WV</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>56</a:Id><a:State>West Virginia</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>WI</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>57</a:Id><a:State>Wisconsin</a:State></a:StateDTO><a:StateDTO><a:Abbreviation>WY</a:Abbreviation><a:Continent>North America</a:Continent><a:ContinentCode>NA</a:ContinentCode><a:Country>United States</a:Country><a:CountryAbbreviation>US</a:CountryAbbreviation><a:CountryId>1</a:CountryId><a:Id>58</a:Id><a:State>Wyoming</a:State></a:StateDTO></GetAllProvincesByCountryIdResult></GetAllProvincesByCountryIdResponse>"
|