GET Ferries
Returns all ferry terminals.
Request Information
https://511.gov.pe.ca/api/v2/get/ferryterminals
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
lang |
Valid values are 'en' or 'fr', default 'en'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
integer |
Latitude |
The latitude describing the location. Format: double between -90 and 90. |
double |
Longitude |
The longitude describing the location. Format: double between -180 and 180. |
double |
Name |
The name of the ferry terminal. |
string |
Website |
The website where more information on the ferry terminal can be found. |
string |
Response Formats
JSON
[ { "Id": 201, "Latitude": 463.501815, "Longitude": -622.525968, "Name": "Souris", "Website": "https://www.traversierctma.ca/en/plan-your-trip/schedule" }, { "Id": 202, "Latitude": 458.494036, "Longitude": -62.869208, "Name": "Wood Islands", "Website": "https://www.ferries.ca/ns-pei-ferry/schedule/" } ]
XML
<FerryTerminalsList> <FerryTerminals> <Id>201</Id> <Latitude>463.501815</Latitude> <Longitude>-622.525968</Longitude> <Name>Souris</Name> <Website>https://www.traversierctma.ca/en/plan-your-trip/schedule</Website> </FerryTerminals> <FerryTerminals> <Id>202</Id> <Latitude>458.494036</Latitude> <Longitude>-62.869208</Longitude> <Name>Wood Islands</Name> <Website>https://www.ferries.ca/ns-pei-ferry/schedule/</Website> </FerryTerminals> </FerryTerminalsList>