diff --git a/jbtcd/fitbit-bundle/1.0/config/packages/fitbit.yaml b/jbtcd/fitbit-bundle/1.0/config/packages/fitbit.yaml new file mode 100644 index 00000000..4dfb8fad --- /dev/null +++ b/jbtcd/fitbit-bundle/1.0/config/packages/fitbit.yaml @@ -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 diff --git a/jbtcd/fitbit-bundle/1.0/manifest.json b/jbtcd/fitbit-bundle/1.0/manifest.json new file mode 100644 index 00000000..a53840be --- /dev/null +++ b/jbtcd/fitbit-bundle/1.0/manifest.json @@ -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" + } +}