Google Code is the site of choice for hosting the Nike+PHP project, from there you can download the source code, checkout the wiki for examples and some support and even raise any issues.
Change log
Below, you'll find the details of the changes for each version.
Version key: Stable Stable, but not maintained Depreciated
Version 3
| Version Number | Details |
|---|---|
| 3.1.1 | Small code refactor removing unnecassary global variables. |
| 3.1 | Added 4 new 'friendly' methods and changed where exceptions are thrown. |
| 3.0.1 | Another code cleanup, introduced toMiles method and improved documentation, using PHPDoc formating |
| 3.0 | More OOP approach, code cleanup, fewer calls, more data. |
Version 2
This release is no longer maintained, it is recommended that you use the latest version instead
| Version Number | Details |
|---|---|
| 2.0.1 | Updated the getRun method to allow internal calls. This will allow getGraphPoints to always return a result regardless of your prefered output. |
| 2.0 | The API now matches v1 for functionality with the addition of being able to retrieve your goals. This is the first release for the new way of retrieving data, which means that cURL is now a requirement. |
Version 1
This release is no longer maintained at all it is recommended that you use the latest version instead
| Version Number | Details |
|---|---|
| 1.x | It seems that Nike are now comfortably using v2 of their API so v1 is pretty spotty on their side, it's even been taken down for large chunks of time. For the time being, v1 is still available for download, but v2 of Nike+PHP is now in the works. |
| 1.2.5 | Some route information is now returned with run data, although not all of it can be included with v1. I've also removed 200 lines of white space, making the file a little neater, the file size a bit small and my life easier! |
| 1.2.3 | Error reporting previously required a 10 digit ID, but it turns out your ID could be less than that. |
| 1.2.2 | Empty playlists are no longer returned, so they've been removed where necassary. To make it a little cleaner, they're the last items to get added in the get_run method. |
| 1.2.1 | Playlists are now handled just that little bit better. |
| 1.2 | Now has better error handling for if/when the Nike website goes down. |
| 1.1 | Nike changed the format of their XML output, so the way you walk the DOM has been changed accordingly. |
| 1.0 | The first full release of Nike+PHP! Improved code where possible and a new method, getGraphPoints, that makes it easy to plot the points of a specific run. The functionality was originally used for the widget I created, but I decided to use it so that others can have a bit of fun with it. |
Beta
This release is no longer maintained at all it is recommended that you use the latest version instead
| Version Number | Details |
|---|---|
| 0.9 | Improved error reporting by providing a friendly error message, that has a class applied for easy access in CSS, that is returned whenever a method is called but can't be run. The checks run before anything else in the method so should not hamper your own code. |
| 0.8.6 | Ommited totalCalories from 0.8.5, so re-released to get this in. |
| 0.8.5 | You know have the option to return figures in miles instead of the default Km. basicFirstRun and basicLastRun have both been improved to make them a little faster to run. |
| 0.8 | The class now strictly defines what data types should be returned from the XML providing a more reliable output. Also added two new methods: totalRunTime and totalDistance. |
| 0.7.5 | Amended XML traversing after Nike changed things on their side. |
| 0.7 | First public release of Nike+PHP, please refer to the usage documentation on how to make the most of the class. |
Contributions
Below you'll find a list of contributers to the project, without who the project wouldn't be where it is today.

