Use API to show total amount of trees planted
In some cases you may not want to use our tree counter widget and implement a custom solution.
Please contact customer support to receive a personal token
1) Contact customer support to receive a personal token.
2) Go to Settings > External API .
3) Lookup the location id under Location
To connect to our API, access:
https://api.reviewforest.org/api/v3/location/usage-v2
Method: GET
Query:
{
token: Enter the token you have received from customer support,
location_id: location ID from the external API page
}
Please contact customer support to receive a personal token
1) Contact customer support to receive a personal token.
2) Go to Settings > External API .
3) Lookup the location id under Location
To connect to our API, access:
https://api.reviewforest.org/api/v3/location/usage-v2
Method: GET
Query:
{
token: Enter the token you have received from customer support,
location_id: location ID from the external API page
}
Updated on: 26/02/2021
Thank you!