GET Parks
Returns all parks.
Request Information
https://www.manitoba511.ca/api/v2/get/parks
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 park. |
string |
Website |
The website where information about the park can be found. |
string |
Type |
The type of the park. |
string |
Response Formats
JSON
[
{
"Id": 353694,
"Latitude": 49.957274,
"Longitude": -98.3320673,
"Name": "Yellow Quill Provincial Park",
"Website": "http://www.gov.mb.ca/conservation/parks/index.html",
"Type": "Provincial"
},
{
"Id": 353695,
"Latitude": 56.910511,
"Longitude": -101.2433444,
"Name": "Zed Lake Provincial Park",
"Website": "https://www.gov.mb.ca/sd/parks/park-maps-and-locations/northeast/zed.html",
"Type": "Provincial"
},
{
"Id": 353696,
"Latitude": 50.8285579,
"Longitude": -100.2008948,
"Name": "Riding Mountain National Park of Canada",
"Website": "http://www.pc.gc.ca/eng/pn-np/mb/riding/index.aspx",
"Type": "National"
}
]
XML
<ParksList>
<Parks>
<Id>353694</Id>
<Latitude>49.957274</Latitude>
<Longitude>-98.3320673</Longitude>
<Name>Yellow Quill Provincial Park</Name>
<Website>http://www.gov.mb.ca/conservation/parks/index.html</Website>
<Type>Provincial</Type>
</Parks>
<Parks>
<Id>353695</Id>
<Latitude>56.910511</Latitude>
<Longitude>-101.2433444</Longitude>
<Name>Zed Lake Provincial Park</Name>
<Website>https://www.gov.mb.ca/sd/parks/park-maps-and-locations/northeast/zed.html</Website>
<Type>Provincial</Type>
</Parks>
<Parks>
<Id>353696</Id>
<Latitude>50.8285579</Latitude>
<Longitude>-100.2008948</Longitude>
<Name>Riding Mountain National Park of Canada</Name>
<Website>http://www.pc.gc.ca/eng/pn-np/mb/riding/index.aspx</Website>
<Type>National</Type>
</Parks>
</ParksList>