Announcing new Python SDK

It’s no secret that SoundCloud is a Ruby shop, but that doesn’t stop us from giving some love to the Pythonistas in our community.

Our old Python API wrapper has been neglected. It doesn’t support OAuth 2 or all of the resources made available by our API. It’s old and crufty and we’re sorry for letting it get that way. In order to make it up to you, we wrote a new one and made it much better.

Our new Python SDK has an interface that should be very familiar to anyone who has used our Ruby or JS SDKs:

import soundcloud

# Create a new client that uses the user credentials oauth flow
client = soundcloud.Client(client_id='YOUR_CLIENT_ID',

# print the username of the authorized user
print client.get('/me').username

It is available on PyPi, so you can install it using easy_install, or better yet, pip. The source code is available on GitHub, contributions of all kind are very welcome.

If you want to give it a whirl, you can install it from PyPi and take a look at the examples in the README file. As always, let us know if you’re building something cool, we’d love to hear about it!