Skip to content

Instantly share code, notes, and snippets.

@eternal512
eternal512 / getLatestDetails.py
Last active January 4, 2016 12:58
Query Nike+ API to get elevation min/max/gain data
#!/usr/bin/python
""" Nike plus elevation data for last run """
import json
import urllib2
import prettytable as pt
# look here for docs: https://developer.nike.com/console
# i started with a script here (https://gist.github.com/leah/5655437)