7digital-python.lib.py7digital Namespace Reference

Data Structures

class  _BaseObject
 
class  _Request
 
class  _Search
 
class  Album
 
class  AlbumCharts
 
class  AlbumReleases
 
class  AlbumSearch
 
class  Artist
 
class  ArtistBrowse
 
class  ArtistDetail
 
class  ArtistSearch
 
class  Label
 
class  ServiceException
 
class  Tag
 
class  Track
 
class  TrackSearch
 

Functions

def get_artist_detail (artistId)
 
def search_artist (query)
 
def browse_artists (letter)
 
def search_album (query)
 
def album_charts (period, todate)
 
def album_releases (fromdate, todate)
 
def search_track (query)
 
def _extract (node, name, index=0)
 
def _extract_all (node, name, pageSize_count=None)
 
def _get_artist (xml)
 
def _get_album (xml, artist)
 
def _get_track (xml, album, artist)
 
def _get_tag (xml)
 
def _get_label (xml)
 
def enable_caching (cache_dir=None)
 
def disable_caching ()
 
def is_caching_enabled ()
 
def _get_cache_dir ()
 
def get_md5 (text)
 

Variables

string __name__ = 'py7digital'
 
string __doc__ = 'A python interface to 7Digital web service'
 
string __author__ = 'Oscar Celma, Pau Capella'
 
string __version__ = '0.0.1'
 
string __license__ = 'GPL'
 
string __maintainer__ = 'Oscar Celma'
 
string __email__ = 'ocelma@bmat.com'
 
string __status__ = 'Beta'
 
string API_VERSION = '1.2'
 
string HOST_NAME = 'api.7digital.com/'
 
string OAUTHKEY = ''
 
string COUNTRY = ''
 
string __cache_dir = './cache'
 
bool __cache_enabled = False
 

Function Documentation

def 7digital-python.lib.py7digital._extract (   node,
  name,
  index = 0 
)
private
Extracts a value from the xml string

Definition at line 815 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital._extract_all(), 7digital-python.lib.py7digital._get_album(), 7digital-python.lib.py7digital._get_artist(), 7digital-python.lib.py7digital._get_label(), 7digital-python.lib.py7digital.TrackSearch._get_results(), 7digital-python.lib.py7digital._get_tag(), 7digital-python.lib.py7digital._get_track(), 7digital-python.lib.py7digital.Album.get_added_date(), 7digital-python.lib.py7digital.Album.get_barcode(), 7digital-python.lib.py7digital.Track.get_duration(), 7digital-python.lib.py7digital.Track.get_explicit(), 7digital-python.lib.py7digital.Artist.get_image(), 7digital-python.lib.py7digital.Album.get_image(), 7digital-python.lib.py7digital.Track.get_isrc(), 7digital-python.lib.py7digital.Artist.get_name(), 7digital-python.lib.py7digital.Tag.get_name(), 7digital-python.lib.py7digital.Track.get_position(), 7digital-python.lib.py7digital.Track.get_preview(), 7digital-python.lib.py7digital.Album.get_release_date(), 7digital-python.lib.py7digital.Album.get_title(), 7digital-python.lib.py7digital.Track.get_title(), 7digital-python.lib.py7digital._Search.get_total_result_count(), 7digital-python.lib.py7digital.Album.get_type(), 7digital-python.lib.py7digital.Artist.get_url(), 7digital-python.lib.py7digital.Album.get_url(), 7digital-python.lib.py7digital.Track.get_url(), 7digital-python.lib.py7digital.Tag.get_url(), 7digital-python.lib.py7digital.Track.get_version(), and 7digital-python.lib.py7digital.Album.get_year().

def 7digital-python.lib.py7digital._extract_all (   node,
  name,
  pageSize_count = None 
)
private
Extracts all the values from the xml string. It returns a list.

Definition at line 828 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

def 7digital-python.lib.py7digital._get_cache_dir ( )
private
def 7digital-python.lib.py7digital._get_track (   xml,
  album,
  artist 
)
private
def 7digital-python.lib.py7digital.album_charts (   period,
  todate 
)
Get chart albums in a given period of time 

Definition at line 800 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

def 7digital-python.lib.py7digital.album_releases (   fromdate,
  todate 
)
Get releases in a given period of time

Definition at line 804 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

def 7digital-python.lib.py7digital.browse_artists (   letter)
Browse artists by letter [a..z]. Returns an ArtistBrowse object.
Use get_next_page() to retrieve sequences of results.

Definition at line 790 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

def 7digital-python.lib.py7digital.disable_caching ( )
def 7digital-python.lib.py7digital.enable_caching (   cache_dir = None)
def 7digital-python.lib.py7digital.get_artist_detail (   artistId)
def 7digital-python.lib.py7digital.get_md5 (   text)
def 7digital-python.lib.py7digital.is_caching_enabled ( )
def 7digital-python.lib.py7digital.search_album (   query)
Search albums by query. Returns the albumSearch object.
Use get_next_page() to retrieve sequences of results.

Definition at line 795 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

def 7digital-python.lib.py7digital.search_artist (   query)
Search artists by query. Returns an ArtistSearch object.
Use get_next_page() to retrieve sequences of results.

Definition at line 785 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

def 7digital-python.lib.py7digital.search_track (   query)
Search tracks by query. Returns a TrackSearch object.
Use get_next_page() to retrieve sequences of results.

Definition at line 808 of file musixmatch-master/7digital-python/lib/py7digital.py.

Referenced by 7digital-python.lib.py7digital.TrackSearch._get_results().

Variable Documentation

string 7digital-python.lib.py7digital.__author__ = 'Oscar Celma, Pau Capella'
private
string 7digital-python.lib.py7digital.__cache_dir = './cache'
private
bool 7digital-python.lib.py7digital.__cache_enabled = False
private
string 7digital-python.lib.py7digital.__doc__ = 'A python interface to 7Digital web service'
private
string 7digital-python.lib.py7digital.__email__ = 'ocelma@bmat.com'
private
string 7digital-python.lib.py7digital.__license__ = 'GPL'
private
string 7digital-python.lib.py7digital.__maintainer__ = 'Oscar Celma'
private
string 7digital-python.lib.py7digital.__name__ = 'py7digital'
private
string 7digital-python.lib.py7digital.__status__ = 'Beta'
private
string 7digital-python.lib.py7digital.__version__ = '0.0.1'
private
string 7digital-python.lib.py7digital.API_VERSION = '1.2'
string 7digital-python.lib.py7digital.COUNTRY = ''
string 7digital-python.lib.py7digital.HOST_NAME = 'api.7digital.com/'
string 7digital-python.lib.py7digital.OAUTHKEY = ''