TEXT
{
"null": "<null>",
"forever": 1500,
"listChunkSize": 500,
"listChunkHTML": "<!DOCTYPE html><html><head></head><body>\n <script>\n let arr = (DICT).list;\n const origArr = Array.from(arr);\n let dictArr = {};\n \n let arrParts = Math.max(Math.ceil(arr.length / CHUNKSIZE), 1);\n\n for (let i = 1; i <= arrParts; i++)\n dictArr[i] = arr.splice(0, CHUNKSIZE);\n \n document.write(JSON.stringify({ total: origArr.length, listCount: arrParts, lists: dictArr }));\n </script>\n</body></html>",
"instructionsURL": "https://shortcuts.toggleable.com/fitbit-importer/instructions",
"fitbit": {
"baseAPIURL": "https://api.fitbit.com",
"authorizeURL": "https://www.fitbit.com/oauth2/authorize?response_type=token&client_id=CLIENT_ID&redirect_uri=CALLBACK_URL&scope=heartrate%20profile%20sleep%20activity%20weight%20nutrition&expires_in=31536000&prompt=login%20consent&state=STATE"
},
"commands": {
"authorize": {
"command": "authorize"
},
"reset-authorization": {
"command": "reset-authorization"
},
"get-authorization": {
"command": "get-file",
"file": "auth.json"
},
"options": {
"command": "options"
},
"check-for-updates-main": {
"command": "check-for-updates",
"for": "main"
},
"redo-setup": {
"command": "redo-setup"
},
"first-run": {
"command": "first-run"
},
"get-config": {
"command": "get-config"
},
"get-strings": {
"command": "get-strings"
},
"exit": {
"command": "exit"
}
},
"files": {
"dirname": "/fitbit-importer",
"auth": "auth.json",
"skipped-updates": "skipped-updates.txt",
"prefs": "prefs.json",
"imported-exercises": "imported-exercises.txt"
},
"exit": {
"ok": 0
},
"info": {
"main": {
"name": "Fitbit Importer",
"updateURL": "https://shortcuts.toggleable.com/fitbit-importer/latest.json",
"releaseNotesURL": "https://shortcuts.toggleable.com/fitbit-importer/release-notes"
},
"automated": {
"name": "Fitbit Importer Automated",
"updateURL": "https://shortcuts.toggleable.com/fitbit-importer-automated/latest.json",
"releaseNotesURL": "https://shortcuts.toggleable.com/fitbit-importer-automated/release-notes"
}
},
"strings": {
"English": {
"profile": "Profile",
"heart-rate": "Heart Rate",
"sleep": "Sleep",
"steps": "Steps",
"distance": "Distance",
"calories": "Calories",
"fat": "Body Fat",
"weight": "Weight",
"nutrition": "Nutrition",
"water": "Water",
"exercises": "Exercises",
"choose-option": "Choose what data to import into Apple Health",
"choose-date": "Choose a day to import from",
"getting-entries": "Getting current entries…",
"processing-data": "Processing data… Keep the Shortcuts app open!",
"processing-total": "Processing TOTAL points of data… Keep the Shortcuts app open!",
"processing-current": "Processed CURRENT/TOTAL points of data…",
"processing-finished": "Finished processing data in TIME.",
"failed-fetch": "Failed to fetch data. Login information has been reset. Please try again.",
"install-update": "Install Update",
"view-release-notes": "View Full Release Notes",
"skip-update": "Skip This Version",
"instructions": "Instructions",
"begin-setup": "Begin Setup",
"release-notes": "Release Notes",
"update-available": "Update Available",
"client-id": "Client ID",
"callback-url": "Callback URL",
"logged-in-as": "Logged in as NAME",
"import-data": "Import Data",
"check-for-updates": "Check for Updates",
"clear-authorization": "Clear Authorization",
"confirm-clear-authorization": "Are you sure you want to clear authorization information?",
"continue-on-fitbit": "Authorize on Fitbit",
"redo-setup": "Redo Setup",
"redo-setup-confirm": "Are you sure you want to redo the setup process?",
"redo-setup-description": "You'll have to provide your Client ID and Callback URL again if you do this.",
"invalid-date-future": "You can't choose a date in the future.",
"invalid-date-range": "End date must be after start date.",
"choose-date-start": "Choose a start date",
"choose-date-end": "Choose an end date",
"choose-date-range": "Between Dates",
"choose-date-single": "From A Single Day",
"no-data-found": "No data was found.",
"nutrition-import-date": "You can only import nutrition/water data for past dates. This is to ensure all log entries have been entered.",
"reaching-out": "Reaching out to Fitbit…",
"description-heart rate": "intraday and resting heart rate",
"description-sleep": "time spent in bed, asleep, and awake",
"description-steps": "daily step count",
"description-distance": "distance travelled",
"description-calories": "active and resting calories",
"description-fat": "body fat percentage",
"description-weight": "weight and BMI",
"description-nutrition": "totals for carbs, fat, fiber, protein, sodium, and dietary calories",
"description-water": "water intake",
"description-exercises": "walks and runs"
}
},
"empty": {}
}