activityInfoToken

Description

Configures the current session to use a personal token for authentication to the ActivityInfo Server.

Usage

activityInfoToken(token)

Arguments

Argument Description
token The personal token used to authenticate with to ActivityInfo.org

Details

Users can generate a personal API token from the Profile Settings page of ActivityInfo's user interface. This token is used instead of a password when connecting to the ActivityInfo API.

When run interactively, you will be prompted to store the token locally on your device. This avoids the need to provide the token each time you run a script. The token is stored in plaintext, however, so you should only agree to store your token when your device is properly secured with a screenlock and not shared with others.

Examples

activityInfoToken("<API TOKEN>")
Next item
addDatabase