Created
March 6, 2012 16:30
-
-
Save paulosman/1987262 to your computer and use it in GitHub Desktop.
Python SDK Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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