Classes
|
Pseudo-immutable object storing type and ID of a Spotify Resource. |
Functions
|
|
|
|
|
Returns an HTTPAdapter that can be mounted to a session in order to add automatically resend a request if it failed. |
|
|
|
Prettify a dictionary |
Data
|
frozenset() -> empty frozenset object frozenset(iterable) -> frozenset object |
Reference
spotipie.utils.
ResourceInfo
(type, id, owner_id=None)[source]¶Bases: object
Pseudo-immutable object storing type and ID of a Spotify Resource. The owner_id
is an
optional field and can be provided only for playlists: the old URIs and URLs for playlists
required this field in the past. In any case,
It can be constructed from spotify URIs (strings) and URLs.
url
¶uri
¶spotipie.utils.
get_default_http_adapter
(adapter_class=<class 'cachecontrol.adapter.CacheControlAdapter'>)[source]¶Returns an HTTPAdapter that can be mounted to a session in order to add automatically
resend a request if it failed. By default, a CacheControlAdapter is added. This
adds caching to the session. Pass HttpAdapter
if you
don’t want caching.