Charlottetown Transit API
From rukapedia
This document describes a RESTful API that provides access to the same stop, route and schedule information that is used to power the Charlottetown Interactive Transit Map.
Routes
Returns information on Charlottetown Transit routes.
URL | http://thebus.ca/api/routes |
Method | GET |
Querystring | None |
Returns | XML |
Example
# curl http://thebus.ca/api/routes <?xml version="1.0"?> <routes> <route> <number>1</number> <name>University Ave. Express</name> <markercolour>yellow</markercolour> <routecolour>ff0000</routecolour> <lightcolour>ff847f</lightcolour> <note/> </route> </routes>