getDfdaAccessToken() function as described here if you haven’t done that already.
You can check the API documentation to generate code to do this in any language.
Common Parameters
| Property | Description | 
|---|---|
| searchPhrase | Search phrase to filter variables by name or description. | 
| includePublic | If true, this also returns variables for which the user has no measurements or reminders yet. | 
| sort | The order in which variables are returned. Default is -latestMeasurementTime. | 
Use the 
sort parameter to manage the order of returned variables, such as by their latest measurement time here.
