Activity and Exercise
The exerciseTracker
query helps you to get the total time of registered activity minutes the user has recorded in the given date range.
Required Arguments
Available Fields
Example
query{
exerciseTracker(start:"2023-01-01" end:"2023-04-13"){
pageInfo{
hasNextPage
hasPreviousPage
}
edges{
node{
calories
datetime
id
intensity
type
durationMinutes
}
}
}
}
{
"data": {
"exerciseTracker": {
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false
},
"edges": [
{
"node": {
"calories": 200,
"datetime": "2023-01-02T17:17:45+00:00",
"id": "RXhlcmNpc2VFbnRyeTo3NjQ1Mg==",
"intensity": "VIGOROUS",
"type": "STRENGTH",
"durationMinutes": 60
}
},
{
"node": {
"calories": 180,
"datetime": "2023-01-03T14:23:06+00:00",
"id": "RXhlcmNpc2VFbnRyeTo3Nzc4Mg==",
"intensity": "VIGOROUS",
"type": "STRENGTH",
"durationMinutes": 50
}
},
{
"node": {
"calories": 360,
"datetime": "2023-01-03T15:23:06+00:00",
"id": "RXhlcmNpc2VFbnRyeTo3Nzc3MA==",
"intensity": "MODERATE",
"type": "CARDIO",
"durationMinutes": 50
}
},
{
"node": {
"calories": null,
"datetime": "2023-01-03T15:36:06+00:00",
"id": "RXhlcmNpc2VFbnRyeTo3Nzc3MQ==",
"intensity": "LOW",
"type": "CARDIO",
"durationMinutes": 50
}
}
]
}
}
}
Last updated