Ejemplo n.º 1
0
 def __init__(self, spotify_id, spotify=None, data=None):
     if spotify is None:
         spotify = globalSpotify()
     
     self.__spotify    = spotify
     self.__spotify_id = spotify_id
     # The data we get just from search results.
     self.__basicData = data
     # Data retrieved from a lookup.
     self.__fullData  = None
Ejemplo n.º 2
0
 def __spotify(self):
     return globalSpotify()