FFmpeg
|
Public Member Functions | |
def | __getattribute__ (self, name) |
def | __call__ (self, apikey=None, format=None, query) |
def | __repr__ (self) |
def | __getattribute__ (self, name) |
def | __call__ (self, apikey=None, format=None, query) |
def | __repr__ (self) |
def | __getattribute__ (self, name) |
def | __call__ (self, apikey=None, format=None, query) |
def | __repr__ (self) |
def | __getattribute__ (self, name) |
def | __call__ (self, apikey=None, format=None, query) |
def | __repr__ (self) |
Static Private Attributes | |
string | __separator__ = '.' |
Detailed Description
Utility class to build API methods name and call them as functions. :py:class:`Method` has custom attribute access to build method names like those specified in the API. Each attribute access builds a new Method with a new name. Calling a :py:class:`Method` as a function with keyword arguments, builds a :py:class:`Request`, runs it and returns the result. If **apikey** is undefined, environment variable **musixmatch_apikey** will be used. If **format** is undefined, environment variable **musixmatch_format** will be used. If **musixmatch_format** is undefined, jason format will be used. >>> import musixmatch >>> artist = musixmatch.api.Method('artist') >>> >>> try: ... chart = artist.chart.get(country='it', page=1, page_size=3) ... except musixmatch.api.Error, e: ... pass
Definition at line 255 of file musixmatch-master/build/lib/musixmatch/api.py.
Member Function Documentation
def musixmatch.api.Method.__call__ | ( | self, | |
apikey = None , |
|||
format = None , |
|||
query | |||
) |
Definition at line 285 of file musixmatch-master/build/lib/musixmatch/api.py.
Referenced by musixmatch.api.Method.__call__().
def musixmatch.api.Method.__call__ | ( | self, | |
apikey = None , |
|||
format = None , |
|||
query | |||
) |
Definition at line 285 of file musixmatch-master/musixmatch/api.py.
def musixmatch.api.Method.__call__ | ( | self, | |
apikey = None , |
|||
format = None , |
|||
query | |||
) |
Definition at line 285 of file Yading/musixmatch-master/build/lib/musixmatch/api.py.
def musixmatch.api.Method.__call__ | ( | self, | |
apikey = None , |
|||
format = None , |
|||
query | |||
) |
Definition at line 285 of file Yading/musixmatch-master/musixmatch/api.py.
def musixmatch.api.Method.__getattribute__ | ( | self, | |
name | |||
) |
Definition at line 279 of file Yading/musixmatch-master/musixmatch/api.py.
def musixmatch.api.Method.__getattribute__ | ( | self, | |
name | |||
) |
Definition at line 279 of file musixmatch-master/musixmatch/api.py.
def musixmatch.api.Method.__getattribute__ | ( | self, | |
name | |||
) |
Definition at line 279 of file musixmatch-master/build/lib/musixmatch/api.py.
Referenced by musixmatch.api.Method.__getattribute__().
def musixmatch.api.Method.__getattribute__ | ( | self, | |
name | |||
) |
Definition at line 279 of file Yading/musixmatch-master/build/lib/musixmatch/api.py.
def musixmatch.api.Method.__repr__ | ( | self | ) |
Definition at line 290 of file Yading/musixmatch-master/musixmatch/api.py.
def musixmatch.api.Method.__repr__ | ( | self | ) |
Definition at line 290 of file Yading/musixmatch-master/build/lib/musixmatch/api.py.
def musixmatch.api.Method.__repr__ | ( | self | ) |
Definition at line 290 of file musixmatch-master/musixmatch/api.py.
def musixmatch.api.Method.__repr__ | ( | self | ) |
Definition at line 290 of file musixmatch-master/build/lib/musixmatch/api.py.
Referenced by musixmatch.api.Method.__repr__().
Field Documentation
|
staticprivate |
Definition at line 277 of file musixmatch-master/build/lib/musixmatch/api.py.
The documentation for this class was generated from the following file:
Generated on Mon Nov 18 2024 06:52:13 for FFmpeg by 1.8.11