connectToAPI: Connects to Fibit API

Description Usage Arguments Value

Description

Connects to the Fitbit API with OAuth 2. See https://dev.fitbit.com/docs/oauth2/

Usage

1
connectToAPI(appname, key, secret)

Arguments

appname

Name of the Fitbit App

key

Fitbit API Client key

secret

Fibit API Client secret

Value

A Fitbit API token, that will be cached


fitcoach documentation built on April 14, 2017, 7:52 a.m.