Repository is archived
No commit activity in last 3 years
No release in over 3 years
A webcrawler, which grabs fine-grained data of your personal Nike+ runs and saves these as XML and JSON files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

NikePlus-WebCrawler

A webcrawler as executeable RubyGem, which grabs fine-grained data of your personal Nike+ runs and saves these as XML and JSON files.

RubyGem

Install the RubyGem 'nikeplus_webcrawler':

gem install nikeplus_webcrawler

Execute the RubyGem with or without arguments:

nikeplus_webcrawler
nikeplus_webcrawler [LOGIN_MAIL] [LOGIN_PASS]

RubyScript

Unzip the download and switch to the directory:

unzip ~/Downloads/NikePlus-WebCrawler-master.zip
cd ~/Downloads/NikePlus-WebCrawler-master/ruby_script/

Execute the ruby script and follow the instructions:

ruby nikeplus_webcrawler.rb

Process

------------------------------------------
NikePlus-WebCrawler
------------------------------------------
Type your mail: [LOGIN_MAIL]
Type your pass: [LOGIN_PASS]
------------------------------------------
Login successful.
------------------------------------------
Start to grab your 10 runs:
ID #1234567890 (1/10)
ID #2345678901 (2/10)
ID #3456789012 (3/10)
// ...
------------------------------------------
Ready! ./data_runs/json & ./data_runs/xml
------------------------------------------

Result

.
├── nikeplus_webcrawler.rb
├── cookies     // save the login session in a file
├── login.xml   // save the basic data of your account
└── data_runs   // generated json and xml data
    ├── json
    │   ├── 1234567890.json
    │   ├── 2345678901.json
    │   ├── 2345678901.json
    │   └── ...
    └── xml
        ├── 1234567890.xml
        ├── 2345678901.xml
        ├── 3456789012.xml
        └── ...

Example: 2076258238.json, 2076258238.xml

Dependencies

Tested

System: OSX 10.8.2

Parsers

Visualizations

1

2

3

4

License

The script and example is Open Source Software released under the MIT License. It's developed by Darius Morawiec.