|
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 Startimport 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:
Available attributes in np.allruns:
|