View State Province ID
GET:{output}/state-province/{id}
Overview
Returns a state/province object.
URL Parameters
Each of the following url formats is valid:
/{output}/state-province/{id}
/{output}/state-province/{urlTitle}
Name | Type | Description |
---|---|---|
output | string | The output format of the HTTP response; must be ‘json’, or ‘xml’. |
id | integer | The id field for the state, province or territory. |
urlTitle | string | A unique string identifying the state, province or territory. The urlTitle can be identified by the final segment in the state, province, or territory’s url. |
Code Samples
cURL
curl “http://api.cecclimate.com/json/state-province/nova-scotia”