Archive for March, 2006

thirtyboxes.py 0.5.0: a much nicer interface than 0.1.0

I’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), […]

bought a new house

My fiancee and I bought a new house today! Phew. Buying a house in Vancouver (North Van in this case), sucks. It is waay too competitive. But we got a little lucky and won among a number of offers. I tend to cringe at blowing $20 gambling of an evening (more recently losing that to […]