Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
WOLFRAM LANGUAGE SERVICE CONNECTION

RunKeeper

Connect your RunKeeper account to the Wolfram Language to analyze RunKeeper activities.

Connecting & AuthenticatingConnecting & Authenticating

    ServiceConnect["RunKeeper"] creates a connection to the RunKeeper API. If a previously saved connection can be found, it will be used; otherwise, a new authentication request will be launched.

RequestsRequests

    ServiceExecute[conn,"request",params] sends a request to the connection identified by conn, using parameters params. The following give possible requests.

    User Data

    Requests:

    "UserData" information about the authenticated user

    "UserID" user ID of the authenticated user

    "Profile" complete user profile information

    "Records"  ▪  "Settings"  ▪  "Team"

    Activity Lists

    Requests:

    "FitnessActivities" list of completed fitness activities

    "BackgroundActivities" list of daily background activities

    "StrengthTrainingActivities" list of strength training activities

    "PathsMap" map of many paths

    Parameters:
  • "NoLaterThan"Noneend date
    "NoEarlierThan"Nonestart date
  • Fitness Activities

    Requests:

    "FitnessActivity" data for the specified activity

    "StrengthTrainingActivity"  ▪  "BackgroundActivity"

    Parameters:
  • "ActivityID"(required)activity ID
  • Paths and Maps

    Requests:

    "Path" list of geo locations on a recorded path

    "PathMap" map of an activities path

    "AnimatedPathMap" animated activity map

    Parameters:
  • "ActivityID"(required)activity ID
  • User Measurements

    Requests:

    "Weight" history of the user's weight

    "GeneralMeasurements" measurements of the user

    "Diabetes"  ▪  "Nutrition"  ▪  "Sleep"

    Parameters:
  • "NoLaterThan"Noneend date
    "NoEarlierThan"Nonestart date

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create a new connection by launching an authentication dialog:

In[1]:=
Click for copyable input
Out[1]=

Get information about the authenticated user:

In[2]:=
Click for copyable input
Out[2]=

Map the paths the user has taken:

In[3]:=
Click for copyable input
Out[3]=

Animate the path of the user's most recent activity:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=