This operation retrieves all regions. This is a non-secure request as indicated by the '/public/' element in the URL path, therefore, an access token (authentication) is not required.
GET
xml, json
xml, json
https://api.globalgiving.org/api/public/projectservice/regions
&api_key described in the API Key section, required
/api/public/projectservice/regions?api_key=YOUR_API_KEY
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://api.globalgiving.org/api/public/projectservice/regions?api_key=YOUR_API_KEY"
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<regions>
<region>
<name>Africa</name>
</region>
<region>
.
.
<region>
<name>South/Central America and the Caribbean</name>
</region>
</regions>
NOTE: The <region> elements are repeating.
regions |
|
Element | Mandatory | Description |
---|---|---|
name | required | Name of region. |