thirtyboxes.py 0.5.0: a much nicer interface than 0.1.0
Friday, March 24th, 2006I’ve put up a new thirtyboxes.py binding to the 30boxes web API:
http://trentm.com/projects/thirtyboxes/
For example:
import thirtyboxes tb = thirtyboxes.ThirtyBoxes() tb.finduser(1) {’avatar’: ‘http://static.flickr.com/25/9798863727ec96a24f_o.jpg’, ‘createDate’: datetime.date(2005, 9, 10), ‘firstName’: ‘Nick’, ‘id’: 1, …}
from datetime import date, timedelta today = date.today() tomorrow = today + timedelta(1) tb.events(start=today, end=tomorrow) {’events’: [{’allDayEvent’: False, ‘end’: datetime.datetime(2006, 3, 25, 22, 0), […]

