TarPipe Python API

May 09, 2008

My Tarpipe Workflow

For those of you who don’t know TarPipe, it is a web application that makes it easier to create your workflows on the web. This workflow above just receives via the API a title and a photo and uploads it to Photobucket (which sucks, but a Flickr Connector, among others, is being released very soon) and the enters the image link in my flickr account. Right now Tarpipe hasn’t launched yet, but I have access to developer’s preview (which you may also ask) and I have played with it’s API.

So I picked my language of choice: Python and I made a library to access TarPipe API from Python. And it’s as easy as:

sudo easy_install tarpipe-python
python

And then

import tarpipe
t = tarpipe.TarPipe(token="your workflow token")
t.upload(title="hello from python",body="testing TarPipe from Python",image="/Users/youruser/Images/test.png")

As simple as that. The project is hosted at Google Code (you can checkout from the svn if you want). And it’s licensed under LGPL, which will deserve a post later on.

Tagged with: , ,
This post has 2 comments. Feel free to read them and leave your own.

About

I used to write in this blog, but I've found a better format to express myself. From now on, you may read my writings on ideas, programming and politics on my new wiki.

hCard

Name: Alcides Fonseca
Email:
MSN:
Gtalk:
Nov 24, 1988 40.197958, -8.408312

Tagcloud

Archives

Other links