Learn R Programming

fitcoach (version 1.0)

connectToAPI: Connects to Fibit API

Description

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

Usage

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