Array ( [Notice] => Array ( [Name] => DEPRECATION NOTICE [Description] => THIS API IS DEPRECATED. PLEASE VISIT /api/v2 FOR THE CURRENT VERSION. REQUESTS ON THIS API ARE THROTTLED. ) [Fleet] => Array ( [Name] => Fleet [Description] => Get fleet data [Syntax] => Array ( [https://bookit.modo.coop/api/fleet] => Modo fleet data, down to a list of neighbourhoods [https://bookit.modo.coop/api/fleet/neighbourhoods] => Modo fleet data, down to a description of each neighbourhood and list of locations [https://bookit.modo.coop/api/fleet/locations] => Modo fleet data, down to a description of each location and list of cars [https://bookit.modo.coop/api/fleet/cars] => Modo fleet data, down to a description of each car and list of accessories ) [Parameters] => Array ( [?neighbourhoods={id,id,id...}] => Filter the results by neighbourhood ID [?locations={id,id,id...}] => Filter the results by location ID [?cars={id,id,id...}] => Filter the results by car ID [?filter={filter}] => Apply a case-insensitive filter to all fields in this search [?output=human] => Display output in human-readable format (default is JSON) ) [Notes] => Array ( [0] => Parameters may be passed either by GET (please urlencode special characters) or by POST. [1] => When passing multiple parameters by GET, remember to join them with "&" instead of repeating "?". [2] => Return values listed here with "*", and their children, appear at neighbourhood-level or lower. [3] => Return fields listed here with "**", and their children, appear at location-level or lower. [4] => Return fields listed here with "***", and their children, appear at car-level or lower. ) [Example] => Array ( [https://bookit.modo.coop/api/fleet/locations?cars=1,2,3,4,5,6,7,8,9,10] => Get location-level data on cars #1 through 10 [https://bookit.modo.coop/api/fleet/cars?filter=ight] => Get car-level data on everything with the letter-sequence "ight" in its data (Honda Insights, Light Blue cars, anything on Knight Street, etc.) ) [ReturnValues] => Array ( [FleetName] => string [Request] => Array ( [NeighbourhoodLimit] => string [LocationLimit] => string [CarLimit] => string [Filter] => string ) [NeighbourhoodCount] => integer [LocationCount] => integer [CarCount] => integer [Neighbourhoods] => Array ( [{ID}] => string [*{ID}] => Array ( [ID] => integer [SortOrder] => integer [Name] => string [City] => string [LocationCount] => integer [CarCount] => integer [Locations] => Array ( [{ID}] => string [**{ID}] => Array ( [ID] => integer [Name] => string [ShortDescription] => string [Latitude] => numeric(8,6) [Longitude] => numeric(9,6) [CarCount] => integer [Cars] => Array ( [{ID}] => string [***{ID}] => Array ( [ID] => integer [Make] => string [Model] => string [Year] => integer [Colour] => string [Category] => string [Plate] => string [Seats] => integer [AccessoryCount] => integer [Accessories] => Array ( [{ID}] => string ) ) ) ) ) ) ) ) ) [API] => Array ( [Name] => API [Description] => Get API instructions [Syntax] => Array ( [https://bookit.modo.coop/api] => Retrieve this entire array ) [Parameters] => Array ( [?output=human] => Display output in human-readable format (default is JSON) ) [Notes] => Array ( [0] => THIS API IS DEPRECATED. PLEASE VISIT /api/v2 FOR THE CURRENT VERSION. REQUESTS ON THIS API ARE THROTTLED. [1] => This API is read-only, and consists only of public data. You must log into Engage to create or change a booking. [2] => All data are released by Modo for lawful, royalty-free, non-exclusive public use, but remain under copyright by Modo. Data are provided as-is and without any warranty. ) [Updates] => Array ( [September 2016] => Array ( [0] => DEPRECATED THIS API. PLEASE VISIT /api/v2 FOR THE CURRENT VERSION. ) [November 28, 2013] => Array ( [0] => Fixed bug in PVRT calculations (British Columbia carsharing organizations only). [1] => Added "gas" parameter to "Cost" function (Modo instance only). ) [March 25, 2013] => Array ( [0] => Added "car" and "premium" parameters to "Cost" function. ) [March 1, 2013] => Array ( [0] => Added "Seats" return value to "/api/fleet/cars" function. [1] => Removed deprecated "/api/human" function. ) [July 16, 2012] => Array ( [0] => Added new "Cost" function. ) [December 5, 2011] => Array ( [0] => All queries return information about what was requested. [1] => These instructions now indicate the return values of each function. [2] => "Filter" parameter now searches any part of any field, instead of the full text of any field. [3] => "Filter" parameter now searches hidden fields (e.g. car descriptions when viewing neighbourhood data), for consistency. ) [December 1, 2011] => Array ( [0] => "?output=human" is now an option on all queries. This deprecates the "/api/human" function in favour of "/api?output=human". ) [November 30, 2011] => Array ( [0] => Launched API - have fun! ) ) ) )