Skip to content

Django Module for Soundcloud (Soundcloud.com) API

Notifications You must be signed in to change notification settings

cocodrilo/Soundcloud-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

/************************************/
/ Django Module to authenticate with 
/  Soundcloud oauth2 API
/  Contact: [email protected]
/************************************/

- Register your app in http://developers.soundcloud.com/. Please use as "callback url" the following value:

http://yourdomain.com/sc_login/

- Add the following lines to your "settings.py" file:

    # add to INSTALLED_APPS
        '<yourapp>.soundcloud'
    # add to AUTHENTICATION_BACKENDS
        '<yourapp>.soundcloud.backend.ScBackend'
    # add AUTH_PROFILE_MODULE
        AUTH_PROFILE_MODULE = '<yourapp>.soundcloud.profile_sc'

    # add at the end of settings.py
    SC_API_HOST              = "api.soundcloud.com"
    SC_CONSUMER              = "<soundcloud_key>"
    SC_CONSUMER_SECRET       = "<soundcloud_secret>"
    SC_CALLBACK_HOST         = "http://yourdomain.com/

# (replace <yourapp> with your main app name, and <soundcloud_key> / <soundcloud_secret> with
#  your app key and app secret provided in http://developers.soundcloud.com/ )

- Add the following line to the patterns section in your "urls.py" file:
    
    (r'', include('<yourapp>.soundcloud.urls')),

# (replace <yourapp> with your main app name.


... and you're good to GO! :)

About

Django Module for Soundcloud (Soundcloud.com) API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published