If I go to the google api playground, follow these steps:
Step 1. Selection and authorization of the API. I choose two areas
I have to read the blood glucose and pressure from the user.
I select the google user and allow the application to read the data.
Step 2: Exchange Authorization Code for Tokens. I use authorization token for access token and update.
Step 3: Configure the API request. From the list of possible operations that I select DataSources UsersLists, all data sources that are visible to the developer using the areas provided by OAuth. The list is not exhaustive; the user may have private data sources that are visible only to other developers or calls using other areas. Request: GET https://www.googleapis.com/fitness/v1/users/ {userId} / dataSources
I am changing {userId} with me, and I suppose to get a data source to read blood glucose and blood pressure, but what I get is an empty array. { "data source": [] }
I need to check the readings of such values (pressure and glucose). What steps should I go on the google playground to achieve these 2 readings?
Thanks in advance
oauth2-playground google-fit
Zu1779
source share