<commit_before>NextBus-JSON-API
================

The nextbus api but as JSON instead of XML. I'ts only a subset for now whilst I experiment a little. 

URL mapping
-----------

**/api/**

Returns a list of participating agencies

**/api/{agency_id}/**

Returns a list of routes for {agency_id}

**/api/{agency_id}/{route_number}/**

Returns a list of stops for {agency_id} on route {route_number}

**/api/{agency_id}/{route_number}/{stop_id}/**

Returns a list of predicted arrivals
<commit_msg>Updated readme with nextbus info<commit_after>NextBus-JSON-API
================

The nextbus api but as JSON instead of XML. I'ts only a subset for now whilst I experiment a little. 

URL mapping
-----------

**/api/**

Returns a list of participating agencies

**/api/{agency_id}/**

Returns a list of routes for {agency_id}

**/api/{agency_id}/{route_number}/**

Returns a list of stops for {agency_id} on route {route_number}

**/api/{agency_id}/{route_number}/{stop_id}/**

Returns a list of predicted arrivals for {agency_id} on route {route_number} at stop {stop_id}

-------------

This project consumes the public xml feed provided by http://cts.cubic.com/en-us/solutions/real-timepassengerinformation/nextbus,inc.aspx which is subject to data usage limits

{'fraction_non_alphanumeric': 0.1570182394924663, 'fraction_numerical': 0.0, 'mean_word_length': 3.9881422924901186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6009216', 'n_tokens_mistral': 394, 'n_tokens_neox': 387, 'n_words': 141}