GET Parks

Returns all parks.

Request Information

https://511.alberta.ca/api/v2/get/parks

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
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


Resource Description
NameDescriptionType
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

Sample:
[
  {
    "Id": 7801,
    "Latitude": 68.83752,
    "Longitude": -126.88131,
    "Name": "Aspen Beach Provincial Park",
    "Website": "http://albertaparks.ca/aspen-beach"
  },
  {
    "Id": 7881,
    "Latitude": 67.50629,
    "Longitude": -124.60003,
    "Name": "Antelope Hill Provincial Park",
    "Website": "http://albertaparks.ca/antelope-hill"
  }
]

XML

Sample:
<ProvincialParksList>
  <ProvincialParks>
    <Id>7801</Id>
    <Latitude>68.83752</Latitude>
    <Longitude>-126.88131</Longitude>
    <Name>Aspen Beach Provincial Park</Name>
    <Website>http://albertaparks.ca/aspen-beach</Website>
  </ProvincialParks>
  <ProvincialParks>
    <Id>7881</Id>
    <Latitude>67.50629</Latitude>
    <Longitude>-124.60003</Longitude>
    <Name>Antelope Hill Provincial Park</Name>
    <Website>http://albertaparks.ca/antelope-hill</Website>
  </ProvincialParks>
</ProvincialParksList>