/GeoReportv2-endpoints

A relationship between cities and their service discovery url.

BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

GeoReport v2 API servers

A relationship between cities and their service discovery urls.

More info:

Usage

Build time

Run time

Explanation

Git submodule

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.

Network call

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.

File content

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

Collaborate

If you miss anything or notice any error, please open an issue.