About
Nike HAD two version of their API, but v1 has not been discontinues. I am currently working on v2 and hope to have it available for download soon.
Nike+PHP is a PHP class that allows you to grab friendly data from the Nike+ website. Nike+PHP was originally created so that I could get access to the data I upload to Nike+ and to create my own graphs & widgets.
With Nike+PHP, you have access to your Nike profile and all of the run data you have synced with your Nike+ account.
In addition, I’ve grouped data together to make it easy to select:
- Basic run summaries
- Individual runs (extended data)
- Last run (basic/full info)
- First run (basic/full info)
- Runs over a certain distance/time/date
- Runs under a certain distance/time/date
- Runs between two distances/times/dates
- and more!
All you need to get started is PHP5 with SimpleXML, your Nike ID and your profile must be set to public.
If you use Nike+PHP on your website, please credit either the Nike+PHP website or Charanjit Chana where possible.
NB
Nike has two versions of their ‘api’ but have now moved to using v2 on the Nike+ website. There may be instances of where they use v1, and if that’s the case, I’ll post updates and maintain Nike+PHP where I can.
