28 KOM'd #28daysofcode #python

A post from spudz.org

Holy cow! 28 days of coding is OVER!

For my last code push, I wanted to extend the 'cycling with data' theme by getting my API credentials for Strava. I then pulled my data to add up the total distance I have gone on the site measured in millimeters. :)

Goal

Get my Strava info

Requirements

requests and aa API token from https://developers.strava.com

The App

Link to app repo on Github:

28 git repo

Usage:

Run it:

python komd.py

Returns:

You have gone 239 Miles since starting Strava.com You have gone 385071 Meters since starting Strava.com You have gone 385071300 Millimeters since starting Strava.com

It's all about the Millimeters.

bleak theme by Jack Preston