Skip to content

Instantly share code, notes, and snippets.

@paulosman
Created March 6, 2012 16:30
Show Gist options
  • Save paulosman/1987262 to your computer and use it in GitHub Desktop.
Save paulosman/1987262 to your computer and use it in GitHub Desktop.
Python SDK Example
import soundcloud
# Create a new client that uses the user credentials oauth flow
client = soundcloud.Client(client_id='YOUR_CLIENT_ID',
client_secret='YOUR_CLIENT_SECRET',
username='YOUR_USERNAME',
password='YOUR_PASSWORD')
# print the username of the authorized user
print client.get('/me').username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment