7digital-python.lib.oauth7digital.Oauth7digital Class Reference
Inheritance diagram for 7digital-python.lib.oauth7digital.Oauth7digital:
Inheritance graph
Collaboration diagram for 7digital-python.lib.oauth7digital.Oauth7digital:
Collaboration graph

Public Member Functions

def __init__ (self, key, secret, access_token=None)
 
def request_token (self)
 
def authorize_request_token (self, token)
 
def request_access_token (self, token)
 
def get_user_locker (self)
 
def get_artist_from_user_locker (self)
 
def get_releases_from_user_locker (self)
 
def get_tracks_from_user_locker (self)
 
def get_locker (self)
 
def __init__ (self, key, secret, access_token=None)
 
def request_token (self)
 
def authorize_request_token (self, token)
 
def request_access_token (self, token)
 
def get_user_locker (self)
 
def get_artist_from_user_locker (self)
 
def get_releases_from_user_locker (self)
 
def get_tracks_from_user_locker (self)
 
def get_locker (self)
 

Data Fields

 secret
 
 access_token
 

Static Public Attributes

 key = None
 
string SERVER = 'api.7digital.com'
 
string REQUEST_TOKEN_URL = 'https://%s/1.2/oauth/requesttoken'
 
string ACCESS_TOKEN_URL = 'https://%s/1.2/oauth/accesstoken'
 
string LOCKER_ENDPOINT_URL = 'http://%s/1.2/user/locker'
 

Private Member Functions

def __get_locker (self)
 
def __sign_oauth_request (self, token, url_end_point)
 
def __consumer (self)
 
def __signature_method (self)
 
def __secure_connection (self)
 
def __connection (self)
 
def __fetch_response (self, oauth_request, connection)
 
def __get_locker (self)
 
def __sign_oauth_request (self, token, url_end_point)
 
def __consumer (self)
 
def __signature_method (self)
 
def __secure_connection (self)
 
def __connection (self)
 
def __fetch_response (self, oauth_request, connection)
 

Detailed Description

Constructor & Destructor Documentation

def 7digital-python.lib.oauth7digital.Oauth7digital.__init__ (   self,
  key,
  secret,
  access_token = None 
)
def 7digital-python.lib.oauth7digital.Oauth7digital.__init__ (   self,
  key,
  secret,
  access_token = None 
)

Definition at line 13 of file Yading/7digital-python/lib/oauth7digital.py.

Member Function Documentation

def 7digital-python.lib.oauth7digital.Oauth7digital.__connection (   self)
private
def 7digital-python.lib.oauth7digital.Oauth7digital.__connection (   self)
private

Definition at line 86 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.__consumer (   self)
private

Definition at line 77 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.__fetch_response (   self,
  oauth_request,
  connection 
)
private

Definition at line 89 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.__get_locker (   self)
private

Definition at line 66 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.__secure_connection (   self)
private

Definition at line 83 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.__sign_oauth_request (   self,
  token,
  url_end_point 
)
private
def 7digital-python.lib.oauth7digital.Oauth7digital.__sign_oauth_request (   self,
  token,
  url_end_point 
)
private

Definition at line 71 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.__signature_method (   self)
private

Definition at line 80 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.authorize_request_token (   self,
  token 
)

Definition at line 28 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.authorize_request_token (   self,
  token 
)
def 7digital-python.lib.oauth7digital.Oauth7digital.get_artist_from_user_locker (   self)
def 7digital-python.lib.oauth7digital.Oauth7digital.get_artist_from_user_locker (   self)

Definition at line 50 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.get_locker (   self)
def 7digital-python.lib.oauth7digital.Oauth7digital.get_locker (   self)

Definition at line 62 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.get_releases_from_user_locker (   self)

Definition at line 54 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.get_releases_from_user_locker (   self)
def 7digital-python.lib.oauth7digital.Oauth7digital.get_tracks_from_user_locker (   self)

Definition at line 58 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.get_tracks_from_user_locker (   self)
def 7digital-python.lib.oauth7digital.Oauth7digital.get_user_locker (   self)
def 7digital-python.lib.oauth7digital.Oauth7digital.get_user_locker (   self)

Definition at line 46 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.request_access_token (   self,
  token 
)

Definition at line 38 of file Yading/7digital-python/lib/oauth7digital.py.

def 7digital-python.lib.oauth7digital.Oauth7digital.request_access_token (   self,
  token 
)
def 7digital-python.lib.oauth7digital.Oauth7digital.request_token (   self)
def 7digital-python.lib.oauth7digital.Oauth7digital.request_token (   self)

Definition at line 18 of file Yading/7digital-python/lib/oauth7digital.py.

Field Documentation

string 7digital-python.lib.oauth7digital.Oauth7digital.ACCESS_TOKEN_URL = 'https://%s/1.2/oauth/accesstoken'
static
string 7digital-python.lib.oauth7digital.Oauth7digital.LOCKER_ENDPOINT_URL = 'http://%s/1.2/user/locker'
static
string 7digital-python.lib.oauth7digital.Oauth7digital.REQUEST_TOKEN_URL = 'https://%s/1.2/oauth/requesttoken'
static
string 7digital-python.lib.oauth7digital.Oauth7digital.SERVER = 'api.7digital.com'
static

The documentation for this class was generated from the following file: