A relationship between cities and their service discovery urls.
More info:
Use git submodule if you want to add this repository to your project. It could be useful if you want your project to have the latest information about the cities which are using the GeoReport v2 API.
git submodule add https://github.com/SantiMunin/GeoReportv2-endpoints.git servers
- Load the file
servers/cities.json
in your library at build time.
Git submodule could not fit for you (maybe you are not using git), in that case this option is fine.
Download the file: wget https://raw.github.com/SantiMunin/GeoReportv2-endpoints/master/cities.json
and load it at build/run time.
The cities.json
file contains a json array of objects with three fields:
[
{
"id" : "SAN_FRANCISCO",
"city" : "San Francisco, CA",
"service_discovery" : "https://open311.sfgov.org/dev/v2/discovery.xml",
"jurisdiction_id" : "sfgov.org"
},
...
]
####Fields
id
: City's unique identifier.city
: City's name.service_discovery
: Url of the service discovery file.jurisdiction_id
: jurisdiction_id parameter.
If you miss anything or notice any error, please open an issue.