Since boto supports S3 I wondered if it would be possible to access the Internet Archive's API with boto. Turns out, it's quite simple. To make it even simpler, I've added a new "connect_ia" method. Before you can use this, you need to get API credentials from the Internet Archive but fortunately that's really easy. Just sign up for an account (if you don't already have one) and then go to this link to generate the API keys.
Once you have your credentials, the easiest thing to do is to add the credentials to your boto config file. They need to go in the Credentials section like this:
Then, you can create a connection to the Internet Archive like this:
I've only tested this a bit so if you run into any problems with it, post a message to boto-users or create an issue.