From 6cd63ec8b58455570daec2eecc9adc3599cc27e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20B=C3=B6ther?= Date: Mon, 31 Aug 2020 23:43:00 +0200 Subject: [PATCH] Add jbtcd fitbitd-bundle recipe --- .../fitbit-bundle/1.0/config/packages/fitbit.yaml | 15 +++++++++++++++ jbtcd/fitbit-bundle/1.0/manifest.json | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 jbtcd/fitbit-bundle/1.0/config/packages/fitbit.yaml create mode 100644 jbtcd/fitbit-bundle/1.0/manifest.json 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" + } +}