Closed cagryInside closed 8 years ago
@cagryInside Sorry, I forgot to ask you to add the --pretty
command line parameter, which will add newline characters and make it easier to read the JSON and XML. So, running the script looks like:
python update_regions.py --pretty
Could you do this and replace the JSON and XML files in this PR with the pretty files?
@barbeau I just update the PR.
Thanks @cagryInside!
@cagryInside I also forgot to mention that if you want to test with a CSV file (for example, if you download the Google Spreadsheet as a CSV), you can use the following command to use the local file as input, instead of the Google Doc:
python update_regions.py --input-file regions-test.csv --pretty
Thanks @cagryInside, looks good to me!
To test OBA Android with the staging files, you can change donottranslate.xml
string regions_api_url
to:
https://raw.githubusercontent.com/OneBusAway/onebusaway-multiregion-support/master/staging/regions-v3.json
To test OBA Android with the staging files, you can change donottranslate.xml string regions_api_url to: https://raw.githubusercontent.com/OneBusAway/onebusaway-multiregion-support/master/staging/regions-v3.json
@barbeau That's useful, thanks.
I also just added all this documentation to the README: https://github.com/OneBusAway/onebusaway-multiregion-support
Open311 endpoints added to OBA Region API.