Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An unofficial API into WeightBot.com

Project Description

This module is an unofficial API into WeightBot. Right now it’s very simple because WeightBot is simple.

Here’s an example of how you can use it:

from weightbot import WeightBot
from pprint import pprint

wb = WeightBot('me@example.com', 'my_password')
data = wb.get_data()

pprint(data)

And then running that program might result in:

[{'date': datetime.date(2009, 8, 6), 'kilograms': 91.2, 'pounds': 201.1},
 {'date': datetime.date(2009, 8, 7), 'kilograms': 90.1, 'pounds': 198.7},
 {'date': datetime.date(2009, 8, 8), 'kilograms': 90.0, 'pounds': 198.5},
 {'date': datetime.date(2009, 8, 9), 'kilograms': 89.8, 'pounds': 198.0},]

You could also get at the raw csv file by doing wb.get_csv_data.

Hope you enjoy it!

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
weightbot-0.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Aug 16, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting