Skip to content

Instantly share code, notes, and snippets.

@hackenbruder
Last active April 17, 2017 04:45
Show Gist options
  • Save hackenbruder/34e7e4cd5509af9cbb8657e13305a45d to your computer and use it in GitHub Desktop.
Save hackenbruder/34e7e4cd5509af9cbb8657e13305a45d to your computer and use it in GitHub Desktop.
govdata v1 address response
{
"address_id":21700184,
"city_code":554782,
"city":"Praha",
"city_area1":"Praha 1",
"city_area2":"Praha 1",
"district_code":490121,
"district":"Malá Strana",
"street":"Letenská",
"number_type":"č.p.",
"number1":525,
"number2":15,
"number2_character":null,
"postal_code":"11800",
"sjtsk_y":743781,
"sjtsk_x":1042690,
"wgs84_lat":50.0891504200274,
"wgs84_lon":14.4071951833973,
"address_text":"Letenská 525/15, Malá Strana, 11800 Praha 1",
"valid_at":1386720000,
"created_at":1492323873,
"updated_at":1492323873
}
#perform CURL request to get above response
curl -H 'X-Api-Key: ZX1Ap4RUDY2VisBOu2P0e4sEvh2LhWh4Cx8lqoO6' 'https://api.govdata.cz/v1/demo/address/21700184'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment