GET Parks
Returns all parks.
Request Information
https://hotline.gov.sk.ca/api/v2/get/parks
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
format |
Valid values are 'xml' or 'json', default 'json'. |
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 park. |
string |
Website |
The website where information about the park can be found. |
string |
Response Formats
JSON
[
{
"Id": 101,
"Latitude": 49.1233273,
"Longitude": -107.54451420000001,
"Name": "Grasslands National Park of Canada",
"Website": "http://www.pc.gc.ca/eng/pn-np/sk/grasslands/index.aspx"
},
{
"Id": 102,
"Latitude": 53.9453661,
"Longitude": -106.9495502,
"Name": "Prince Albert National Park of Canada",
"Website": "http://www.pc.gc.ca/eng/pn-np/sk/princealbert/index.aspx"
},
{
"Id": 103,
"Latitude": 57.3912867,
"Longitude": -107.3343743,
"Name": "Athabasca Sand Dunes Provincial Park",
"Website": "https://www.tourismsaskatchewan.com/provincialpark/1414/athabasca-sand-dunes-provincial-park"
}
]
XML
<ParksList>
<Parks>
<Id>101</Id>
<Latitude>49.1233273</Latitude>
<Longitude>-107.54451420000001</Longitude>
<Name>Grasslands National Park of Canada</Name>
<Website>http://www.pc.gc.ca/eng/pn-np/sk/grasslands/index.aspx</Website>
</Parks>
<Parks>
<Id>102</Id>
<Latitude>53.9453661</Latitude>
<Longitude>-106.9495502</Longitude>
<Name>Prince Albert National Park of Canada</Name>
<Website>http://www.pc.gc.ca/eng/pn-np/sk/princealbert/index.aspx</Website>
</Parks>
<Parks>
<Id>103</Id>
<Latitude>57.3912867</Latitude>
<Longitude>-107.3343743</Longitude>
<Name>Athabasca Sand Dunes Provincial Park</Name>
<Website>https://www.tourismsaskatchewan.com/provincialpark/1414/athabasca-sand-dunes-provincial-park</Website>
</Parks>
</ParksList>