<?php require_once 'php/nikeplusphp.1.2.5.php'; $nikePHP = new NikePlusPHP(1082023496, true); ?> <html> <P>This is the result of the profile() command</br></P> <?php $profile = $nikePHP->profile(); //print_r($profile); print_r($profile["plusLevel"]); ?> <P>This is the result of the fullRunInfo() command</br></P> <?php $np = $nikePHP->fullRunInfo(); print_r(count($np)); for ($counter = 0; $counter <= count($np); $counter += 1) { $npr = $np[$counter]; $nprTime = $npr["startTime"]; ?> <P>Run-ID: <?php print_r($npr["runId"]); ?>   Distance: <?php print_r($npr["distance"]); ?>   Date: <?php print_r(substr($nprTime, 0, 10));
<?php // You'll need the nikeplusphp lib require SITE_PATH_LIB . "nikeplusphp/class.nikeplus.php"; $np = new NikePlusPHP('*****@*****.**', 'password'); try { /* $profile = $np->profile(); $user = $profile->user; $userTotals = $profile->userTotals; $userOptions = $profile->userOptions; $mostRecentRun = $profile->mostRecentRun; object(stdClass)#1188 (14) { ["name"]=> string(25) "RUN ON: 07/05/08 05:27 PM" ["activityId"]=> string(9) "251418039" ["activityType"]=> string(3) "RUN" ["timeZone"]=> string(9) "GMT+01:00" ["startTimeUtc"]=> string(25) "2008-07-05T17:27:16+01:00" ["status"]=> string(11) "in progress" ["activeTime"]=> int(0) ["gps"]=> bool(false) ["heartrate"]=>