Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (22 sloc) 0.878 kB

Unofficial Runkeeper-API

Overview

The Runkeeper-API is used to interact with Runkeeper (http://runkeeper.com) Runkeeper does provide an official API so BeautifulSoup is used to scrae pages. Currently this package can only be used for reading.

Installation

$ sudo python setup.py install

Usage

Get distance

A simple example for getting the total distance a user has covered

from runkeeper import User
    
user = User("bnmrrs")
activities = user.get_all_activities()

total_distance = 0
for activity in activities:
    total_distance += activity.get_distance()

print "%dkm" % total_distance

Dependencies

Beautiful Soup
simplejson

License

This package is licensed under the MIT License.

Jump to Line
Something went wrong with that request. Please try again.