Tumblr queued for updating
') print user.description If you simply need an access token for testing, and do not want to go through the connect flow, or if you have one central account your app needs to access, you can use the OAuth User Credentials Flow.An example of this kind of app would be an artist's website where you'll only be using a single Sound Cloud account for the artists sets, user information and sounds.You can also use Sound Cloud for your app's registration and sign-in process.This creates a seamless, one click experience for your users and give your app an easy way to upload sounds, make comments or otherwise act on a user's behalf.import soundcloud # create client object with app credentials client = soundcloud.Client(client_id=' YOUR_CLIENT_ID', client_secret=' YOUR_CLIENT_SECRET', redirect_uri=' # exchange authorization code for access token code = params['code'] access_token = client.exchange_token(code) You should now store the access token in a database.You can simplify your registration and sign in process by using a Connect with Sound Cloud button.
The returned object will have an import soundcloud # create client object with access token client = soundcloud.
Sound Cloud authentication uses OAuth 2.0, a popular open standard used by many popular API providers.
OAuth 2.0 allows users to authorize your application without disclosing their username and password.
Our API allows you to get permission from a Sound Cloud user to access Sound Cloud on their behalf.
This means that you will have access to their account, including any private sounds or sets that they have created or have had shared with them.