Title: Exporting Breathing Rate Intraday by Date · Issue #171 · orcasgit/python-fitbit · GitHub
Open Graph Title: Exporting Breathing Rate Intraday by Date · Issue #171 · orcasgit/python-fitbit
X Title: Exporting Breathing Rate Intraday by Date · Issue #171 · orcasgit/python-fitbit
Description: Hi, I am trying to export breathing rate data intraday by date, however could not find specific help on this in the python fitbit documentation. I have successfully authorized and then exported heart rate data, using the following call: ...
Open Graph Description: Hi, I am trying to export breathing rate data intraday by date, however could not find specific help on this in the python fitbit documentation. I have successfully authorized and then exported hea...
X Description: Hi, I am trying to export breathing rate data intraday by date, however could not find specific help on this in the python fitbit documentation. I have successfully authorized and then exported hea...
Opengraph URL: https://github.com/orcasgit/python-fitbit/issues/171
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exporting Breathing Rate Intraday by Date","articleBody":"Hi,\r\n\r\nI am trying to export breathing rate data intraday by date, however could not find specific help on this in the python fitbit documentation. I have successfully authorized and then exported heart rate data, using the following call:\r\n\r\n`fit_statsHR = auth2_client.intraday_time_series('activities/heart', base_date=\"2022-05-14\", detail_level='1sec')`\r\n\r\n\r\nHowever, breathing rate does not seem to work, even if it should be possible according to the fitbit documentation: \r\nhttps://dev.fitbit.com/build/reference/web-api/intraday/get-br-intraday-by-date/\r\n\r\nI am using this call: \r\n\r\n`fit_statsBR = auth2_client.intraday_time_series('br', base_date=\"2022-05-14\")`\r\n\r\nThis is the error I get:\r\n\r\n`HTTPNotFound Traceback (most recent call last)\r\nInput In [18], in \u003ccell line: 1\u003e()\r\n----\u003e 1 fit_statsBR = auth2_client.intraday_time_series('br', base_date=\"2022-05-14\")\r\n\r\nFile ~\\Documents\\Projects\\BBCDS\\Actimetry\\python-fitbit-master\\fitbit\\api.py:592, in Fitbit.intraday_time_series(self, resource, base_date, detail_level, start_time, end_time)\r\n 588 url = url + ('/%s' % (time_str))\r\n 590 url = url + '.json'\r\n--\u003e 592 return self.make_request(url)\r\n\r\nFile ~\\Documents\\Projects\\BBCDS\\Actimetry\\python-fitbit-master\\fitbit\\api.py:256, in Fitbit.make_request(self, *args, **kwargs)\r\n 253 kwargs['headers'] = headers\r\n 255 method = kwargs.get('method', 'POST' if 'data' in kwargs else 'GET')\r\n--\u003e 256 response = self.client.make_request(*args, **kwargs)\r\n 258 if response.status_code == 202:\r\n 259 return True\r\n\r\nFile ~\\Documents\\Projects\\BBCDS\\Actimetry\\python-fitbit-master\\fitbit\\api.py:99, in FitbitOauth2Client.make_request(self, url, data, method, **kwargs)\r\n 89 method = method or ('POST' if data else 'GET')\r\n 90 response = self._request(\r\n 91 method,\r\n 92 url,\r\n (...)\r\n 96 **kwargs\r\n 97 )\r\n---\u003e 99 exceptions.detect_and_raise_error(response)\r\n 101 return response\r\n\r\nFile ~\\Documents\\Projects\\BBCDS\\Actimetry\\python-fitbit-master\\fitbit\\exceptions.py:86, in detect_and_raise_error(response)\r\n 84 raise HTTPForbidden(response)\r\n 85 elif response.status_code == 404:\r\n---\u003e 86 raise HTTPNotFound(response)\r\n 87 elif response.status_code == 409:\r\n 88 raise HTTPConflict(response)\r\n\r\nHTTPNotFound: \u003cResponse [404]\u003e`\r\n\r\n\r\nIs it possible to extract breathing rate, in the same way as heart rate data intraday by date?\r\n\r\n\r\nThank you!\r\n","author":{"url":"https://github.com/MEINHL","@type":"Person","name":"MEINHL"},"datePublished":"2022-07-26T15:41:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/171/python-fitbit/issues/171"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b1b4f502-f99e-95a2-1313-a8b480c3a005 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B298:1A9004:1346255:1AE942B:696A35A6 |
| html-safe-nonce | 070dd26743e7540dabb5ff0fb81c51d308e36c1943e3b46f9c25268b4b317c29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjk4OjFBOTAwNDoxMzQ2MjU1OjFBRTk0MkI6Njk2QTM1QTYiLCJ2aXNpdG9yX2lkIjoiNzk4NjU1NDI0MDU4NDI2NzE3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ece7b1ed74d3251a3f59b1dbb7759090436f9f97e0a2b9b68a7680a05da3b7e7 |
| hovercard-subject-tag | issue:1318425430 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/orcasgit/python-fitbit/171/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45a0a6a34e977cb7652a997a431579e29b2257731fb965da3d6322336235f62a/orcasgit/python-fitbit/issues/171 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45a0a6a34e977cb7652a997a431579e29b2257731fb965da3d6322336235f62a/orcasgit/python-fitbit/issues/171 |
| og:image:alt | Hi, I am trying to export breathing rate data intraday by date, however could not find specific help on this in the python fitbit documentation. I have successfully authorized and then exported hea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MEINHL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| go-import | github.com/orcasgit/python-fitbit git https://github.com/orcasgit/python-fitbit.git |
| octolytics-dimension-user_id | 9833 |
| octolytics-dimension-user_login | orcasgit |
| octolytics-dimension-repository_id | 3472837 |
| octolytics-dimension-repository_nwo | orcasgit/python-fitbit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3472837 |
| octolytics-dimension-repository_network_root_nwo | orcasgit/python-fitbit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width