Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/origox/fitbit-fetcher
https://github.com/origox/fitbit-fetcher
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/origox/fitbit-fetcher
- Owner: origox
- Created: 2023-12-11T15:59:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-11T19:38:56.000Z (about 1 year ago)
- Last Synced: 2023-12-11T20:32:44.736Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fitbit-fetcher
# Prereqs
These steps need to be performed if there are no access and refresh tokens.## 1. Register APP
- Go to https://dev.fitbit.com/apps and register app. Get Client ID and Client Secret, store those in environment variables## 2. Get Access Token
- Run get_authorization_code.py script in two steps
1. First run until Authorization url is created then click that link and then you get a redirict url back.
2. Copy redirect url from browser bar and paste to script input(will solve/automate this step later on). Then you get access and refresh tokens.Note, Same process can be follow here: https://dev.fitbit.com/build/reference/web-api/troubleshooting-guide/oauth2-tutorial/