mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add jbtcd fitbitd-bundle recipe
This commit is contained in:
15
jbtcd/fitbit-bundle/1.0/config/packages/fitbit.yaml
Normal file
15
jbtcd/fitbit-bundle/1.0/config/packages/fitbit.yaml
Normal 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
|
||||
12
jbtcd/fitbit-bundle/1.0/manifest.json
Normal file
12
jbtcd/fitbit-bundle/1.0/manifest.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user