Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth2 "intraday_time_series" error #71

Closed
PertuyF opened this issue Dec 21, 2015 · 1 comment
Closed

OAuth2 "intraday_time_series" error #71

PertuyF opened this issue Dec 21, 2015 · 1 comment

Comments

@PertuyF
Copy link

PertuyF commented Dec 21, 2015

Hi,

When I try:

client.intraday_time_series('heart')  # client is my fitbit.Fitbit() instance with OAuth2 authentification

I get this error:

HTTPBadRequest: Invalid time series resource path: /heart

By comparison when I tried to manually get this kind of data using another Python Fitbit API client (https://github.com/magnific0/FitBit.py) I successfully get data. However your client is more complete and I would prefer to get it working.

Any idea ?

Best,
Fabien

@PertuyF
Copy link
Author

PertuyF commented Dec 22, 2015

OK, forget that, the resource should be 'activities/heart' and not 'heart'.
Maybe it could be written explicitly in the doc comments, but anyway I'll close this issue.

Sorry for that.

@PertuyF PertuyF closed this as completed Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant