Skip to content

bnmrrs/runkeeper-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Unofficial API of Runkeeper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages