Website: http://status.open311.org
Project Backlog: https://github.com/codeforamerica/open311status/projects/1
Open311 Status monitors and aggregates the status of dozens of Open311 API endpoints, providing benchmarks and comparative insights into:
To add a new Open311 endpoint, add their API configuration to the config/cities.yml
file. This should include:
slug
: a unique key for the API endpoint.
name
: the human readable name of the city or location.endpoint
: the complete URL of the Open311 api endpoint, ending in a /
, without services.xml
or requests.xml
.jurisdiction
(optional): the ?jurisdiction_id=
parameter, if required.format
(optional): xml
or json
; defaults to xml
/headers
(optional): custom API headers necessary for the API.Example:
bruhl:
name: 'Brühl, Deutschland'
endpoint: 'https://www.achtet-auf-bruehl.de/georeport/v2/'
jurisdiction: 'bruehl.de'
By default, running db:setup
will load cities and generate fake service
requests. To load cities, run rake cities:load
. And to load service requests,
rake cities:service_requests
.ruby-version
and ensure you have it installed locally e.g. rbenv install 2.6.1
gem install bundler
~/.bashrc
:
export PATH="$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin"
.bundle install
bin/rails db:setup
bin/rspec
bin/rails server
, and visit the web-browser: http://localhost:3000
You may need to run rake db:gis:setup
to enable PostGIS on your database.