I\'m using Rauth for my queries to the Beatport API. I\'m using this working example in PHP as reference.
This PHP code below uses a request token to log in and auth
use pycurl it is a python implementation of lib curl.
import pycurl c = pycurl.Curl() c.setopt(pycurl.URL, "http://www.python.org/") c.setopt(pycurl.HTTPHEADER, ["Accept:"]) ...
you can find more examples and documentation here http://pycurl.sourceforge.net/doc/curlobject.html