Python examples

toshikurauchi edited this page Feb 17, 2011 · 1 revision

Twitter example

Parsing Twitter's public timeline:

from restfulie import Restfulie

statuses = Restfulie.at('http://twitter.com/statuses/public_timeline.xml').get().resource()

for status in statuses:
    print "%s: %s, %s" % (status.user.screen_name, status.text, status.created_at)

Restbuy

Restbuy is a service application that allows consumers to buy products and share payments. You can see all the power of hypermedia in place. Server written in Ruby. The client code can be found here.