12-10-2016 23:52
12-10-2016 23:52
I was hoping to analyze my sleep patterns using the Fitbit API, but I was having some trouble with the authentication step. I am writing a script to analyze my own data rather than a web or mobile application. I was wondering if there was an alternative method of obtaining an access token for my data so that I can proceed. Thank you in advance!
Answered! Go to the Best Answer.
12-13-2016 08:30 - edited 12-13-2016 08:30
12-13-2016 08:30 - edited 12-13-2016 08:30
@Zamru713 There's two relatively easy ways you could pull data:
1) Register an app at https://dev.fitbit.com/apps then use the OAuth 2.0 tutorial page
or
2) Use API Explorer, select OAuth 2 for Authentication before trying to make calls
Hope that helps.
12-13-2016 08:30 - edited 12-13-2016 08:30
12-13-2016 08:30 - edited 12-13-2016 08:30
@Zamru713 There's two relatively easy ways you could pull data:
1) Register an app at https://dev.fitbit.com/apps then use the OAuth 2.0 tutorial page
or
2) Use API Explorer, select OAuth 2 for Authentication before trying to make calls
Hope that helps.
12-13-2016 16:26
12-13-2016 16:26
Thank you @AndrewFitbit! I used the OAuth 2.0 tutorial page to get a token.
01-15-2019 14:46
01-15-2019 14:46
I am trying the latter, but that link no longer works, they have sunsetted it. Anyone know of alternatives?
01-31-2019 08:14
01-31-2019 08:14
Hi @Ashsub
Here's the link to the Web API Explorer tool: https://dev.fitbit.com/build/reference/web-api/explore/
Gordon