My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

I have wanted to be able to handle my nike plus running data, and this project is what came of it.

Quick Start

import pynikeplus

nike_plus_id = '000000000'

#initialize pynikeplus
np = pynikeplus.pynikeplus(nike_plus_id)

##This initialization provides np.allruns and np.runlist

#View your total number of runs
np.allruns.runs

#View the total distance of all your runs
np.allruns.distance

#View a list of your runs as Run objects
np.runlist

#np.runlist is of type pynikeplus.Run
In:  type np.runlist[0]
Out: <class 'pynikeplus.Run'>

View a tuple of the distance and average time per mile for all runs 
[(run.distance,run.avg) for run in np.runlist]

Available attributes in np.runlist:

  • avg
  • distance
  • description
  • calories
  • duration
  • equipmentType
  • gpxId
  • howFelt
  • intensity
  • km
  • mins
  • seconds
  • name
  • startTime
  • syncTime
  • terrain
  • weather

Available attributes in np.allruns:

  • totalcalories
  • totalruns
  • totaldistance
  • totalduration

Powered by Google Project Hosting