Setup {{pluginName}}

Fitbit website settings for this Igor

Register your Igor as a Fitbit app at Fitbit "register an app" page and fill in the resulting details (Client ID and Client Secret) here. You may need to register as a developer before being able to register your igor.

Specify the following values:

Application Name: something with igor- is suggested
Description: doesn't really matter
Application Website: https://github.com/cwi-dis/igor is suggested
Organization: your name or family or so
Organization Website: Something pointing to you, such as a personal website
Terms of Service and Privacy Policy: probably the personal website again
OAuth 2.0 Application Type: Client
Callback URL: https://your-igor-url/plugin/{{pluginName}}/auth2
Default Access Type: Read-only
Fitbit Client ID for this Igor:

Fitbit Client Secret for this Igor:

Measurement system and units:

{% if user %}

Fitbit settings for user {{user}}

{% if 'userData' in kwargs %}

Current Fitbit settings for user {{user}}:

{% for key, value in userData.items() %} {% if key != 'token' %} {{key}}:

{% endif %} {% endfor %} {% if not 'methods' in userData %} methods (comma-separated list, default: get_bodyweight):

{% endif %} Add a new field:
name: value:
{% if 'token' in userData %}

User {{user}} has already given Igor permission to get Fitbit data. Use this link in case you need to re-grant Igor the Fitbit access rights.

{% else %}

Note: User {{user}} has not yet given Igor permission to get Fitbit data. Use this link to arrange that this Igor can access your Fitbit data.

{% endif %}

If you want to you can also delete the access token for this user. (This action cannot be undone except by re-adding the user and re-authenticating).

{% else %}

No per-user Fitbit data for user {{user}}. You can create the new user here and then fill in the type of data you want to retrieve. But note that you will also have to add the <action> element yourself.

{% endif %} {% else %}

Not logged in

You are not logged in, visit the login page to do so. {% endif %}

Fitbit settings for another user

To view data for another user please enter the username here and select Show

Username: