Add jbtcd fitbitd-bundle recipe

This commit is contained in:
Jonah Böther
2020-08-31 23:43:00 +02:00
parent 04a0d635c9
commit 6cd63ec8b5
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
fitbit:
# Get client ID and Secret, register an app here: https://dev.fitbit.com/apps
clientId: '%env(FITBIT_CLIENT_ID)%'
clientSecret: '%env(FITBIT_CLIENT_SECRET)%'
# For available scopes, see here: https://dev.fitbit.com/build/reference/web-api/oauth2/#scope
scopes:
- activity
- heartrate
- location
- nutrition
- profile
- settings
- sleep
- social
- weight

View File

@@ -0,0 +1,12 @@
{
"bundles": {
"FitbitBundle\\FitbitBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"FITBIT_CLIENT_ID": "not-a-real-id",
"FITBIT_CLIENT_SECRET": "not-a-real-secret"
}
}