I have moved this question from the google developers forum to this new forum, as I still think you have an issue: Dan did reply to this - which I have pasted in below:
the API documented here
https://wiki.fitbit.com/display/API/API-Get-Activity-Stats
suggest the following response; howvere the response I get does not include the 'best' object, any ideas how to get the 'best' for distance, calories, steps etc?
{
"best":{
"total":{
"caloriesOut":{
"date":<value>,
"value":<value>
},
"distance":{
"date":<value>,
"value":<value>
},
"floors":{
"date":<value>,
"value":<value>
},
"steps":{
"date":<value>,
"value":<value>
}
},
"tracker":{
"caloriesOut":{
"date":<value>,
"value":<value>
},
"distance":{
"date":<value>,
"value":<value>
},
"floors": {
"date":<value>,
"value":<value>
},
"steps":{
"date":<value>,
"value":<value>
}
}
},
"lifetime":{
"total":{
"distance":<value>,
"floors":<value>,
"steps":<value>
},
"tracker":{
"distance":<value>,
"floors":<value>,
"steps":<value>
}
}
}
---------Dans Reply 10th June-2014-------
Hi Darragh,
It is possible for it to not return this object if you don't have a tracker paired with the account for example.
- Dan
---------
thanks Dan for the reply, I had actually looked at the API and the API does return the content using your API explorer but not via the REST API when called remotely. I also do have a tracker paired as it is collecting all my steps & distances, so I dont think it relates to not having a device paried. Unless I have to select another option someone in FitBIT to enable tracking best results. is there any other explanation?
Darragh