This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # How to get your Authorization Bearer token https://yasoob.me/posts/nike-run-club-data-visualization/ | |
| # Bash script to download your runs in JSON format https://gist.github.com/niw/858c1ecaef89858893681e46db63db66 | |
| # Use this script once you have a folder of jsons ready for parsing --> csv | |
| # The script extracts datetime, distance, and pace, but there are other parameters you can retrieve as well, just take a look at the json structure | |
| import json | |
| import os | |
| import datetime | |
| import csv |