makeAPIRequest: Make API Request

Description Usage Arguments Value

Description

Makes request to Fitbit API, and stores the response into a variable.

Usage

1
makeAPIRequest(type, activity, start.date, end.date, api.token)

Arguments

type

Type of time series. Must be 'day' or 'intraday'

activity

Type of activity. See below for details.

start.date

Start date in format YYYY-mm-dd

end.date

End date in format YYYY-mm-dd

api.token

API token for connection to Fitbit API

Value

The request response


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