spotifywebapiPython 1.0.260__py3-none-any.whl → 1.0.261__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spotifywebapipython/__init__.py +2 -0
- spotifywebapipython/const.py +1 -1
- spotifywebapipython/docs/__init__.html +16 -2
- spotifywebapipython/docs/index.html +8 -2
- spotifywebapipython/docs/search.js +1 -1
- spotifywebapipython/docs/spotifywebapipython/const.html +3 -3
- spotifywebapipython/docs/spotifywebapipython/saappmessages.html +26 -8
- spotifywebapipython/docs/spotifywebapipython/sautils.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifyapierror.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifyapimessage.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifyauthtoken.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifyclient.html +494 -82
- spotifywebapipython/docs/spotifywebapipython/spotifydiscovery.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifymediatypes.html +441 -0
- spotifywebapipython/docs/spotifywebapipython/spotifytypeprefixes.html +458 -0
- spotifywebapipython/docs/spotifywebapipython/spotifywebapiauthenticationerror.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifywebapierror.html +2 -2
- spotifywebapipython/docs/spotifywebapipython/spotifywebplayertoken.html +2 -2
- spotifywebapipython/saappmessages.py +6 -1
- spotifywebapipython/spotifyclient.py +1004 -341
- spotifywebapipython/spotifymediatypes.py +10 -10
- spotifywebapipython/spotifytypeprefixes.py +65 -0
- {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/METADATA +1 -1
- {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/RECORD +27 -24
- {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/LICENSE +0 -0
- {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/WHEEL +0 -0
- {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/top_level.txt +0 -0
|
@@ -60,13 +60,13 @@ class SpotifyMediaTypes(StrEnum):
|
|
|
60
60
|
"""
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
def __eq__(self, other):
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
63
|
+
# def __eq__(self, other):
|
|
64
|
+
# """
|
|
65
|
+
# Override __eq__ so that we can compare enum members directly to their raw values
|
|
66
|
+
# without explicitly accessing the ".value".
|
|
67
|
+
# """
|
|
68
|
+
# if isinstance(other, self.__class__):
|
|
69
|
+
# return self is other
|
|
70
|
+
# elif isinstance(other, type(self.value)):
|
|
71
|
+
# return self.value == other
|
|
72
|
+
# return False
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
from enum import StrEnum
|
|
2
|
+
|
|
3
|
+
class SpotifyTypePrefixes(StrEnum):
|
|
4
|
+
"""
|
|
5
|
+
Spotify media type prefixes enumeration.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
ALBUM = "spotify:album:"
|
|
9
|
+
"""
|
|
10
|
+
Album media type.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
ARTIST = "spotify:artist:"
|
|
14
|
+
"""
|
|
15
|
+
Artist media type.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
AUDIOBOOK = "spotify:audiobook:"
|
|
19
|
+
"""
|
|
20
|
+
Audiobook media type.
|
|
21
|
+
|
|
22
|
+
This value is not part of the Spotify Web API specification.
|
|
23
|
+
It is loaded from our API so that the type of item can be determined programatically.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
EPISODE = "spotify:episode:"
|
|
27
|
+
"""
|
|
28
|
+
Episode media type.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
PLAYLIST = "spotify:playlist:"
|
|
32
|
+
"""
|
|
33
|
+
Playlist media type.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
PODCAST = "spotify:podcast:"
|
|
37
|
+
"""
|
|
38
|
+
Podcast episode type.
|
|
39
|
+
|
|
40
|
+
This value is not part of the Spotify Web API specification.
|
|
41
|
+
It is loaded from our API so that the type of item can be determined programatically.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
SHOW = "spotify:show:"
|
|
45
|
+
"""
|
|
46
|
+
Show media type.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
TRACK = "spotify:track:"
|
|
50
|
+
"""
|
|
51
|
+
Track media type.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
USER = "spotify:user:"
|
|
55
|
+
"""
|
|
56
|
+
Track media type.
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
UNKNOWN = "spotify:unknown:"
|
|
60
|
+
"""
|
|
61
|
+
Unknown media type.
|
|
62
|
+
|
|
63
|
+
This value is not part of the Spotify Web API specification.
|
|
64
|
+
It is loaded from our API so that the type of item can be determined programatically.
|
|
65
|
+
"""
|
|
@@ -1,33 +1,36 @@
|
|
|
1
|
-
spotifywebapipython/__init__.py,sha256=
|
|
2
|
-
spotifywebapipython/const.py,sha256=
|
|
3
|
-
spotifywebapipython/saappmessages.py,sha256=
|
|
1
|
+
spotifywebapipython/__init__.py,sha256=ka7F2AsT-UU7KSYKBnfgl5Trojcep5aQspLutg8D-2k,1306
|
|
2
|
+
spotifywebapipython/const.py,sha256=3mSxDa97aItq_ektUA1qfK4_bBoI7krNApvUrWnP9pE,3923
|
|
3
|
+
spotifywebapipython/saappmessages.py,sha256=mVprjpd5CdD8kYeAkLzRvMvIQPmaYtH4UCP5my3QhSk,5065
|
|
4
4
|
spotifywebapipython/sautils.py,sha256=j3f_Lu3Tb5D7-Gd2rJ2Ep901W-4XDp6Vq6XXVl8DX5I,8098
|
|
5
5
|
spotifywebapipython/spotifyapierror.py,sha256=23_CYlxWN0BceYYCLpBpunl55vEwPr_wFf34l74xzeA,1855
|
|
6
6
|
spotifywebapipython/spotifyapimessage.py,sha256=wCnW8jYMLS3x9kjyXPgXXZqaf1HeMTTXzU8u_Dm5pfA,8447
|
|
7
7
|
spotifywebapipython/spotifyauthtoken.py,sha256=iVg2Pa5mfMqYe4qgc5H8td6JzJlaDqk4vMEhH5LmtfI,9289
|
|
8
|
-
spotifywebapipython/spotifyclient.py,sha256=
|
|
8
|
+
spotifywebapipython/spotifyclient.py,sha256=h3Oizin4YG7U-KPDSINdSf50ZtThmAdld6WYR86w8so,893394
|
|
9
9
|
spotifywebapipython/spotifydiscovery.py,sha256=cyysxl8PQj9yGHVbaqhSF3SStlrp-NvfGAudM-dDmg0,20290
|
|
10
|
-
spotifywebapipython/spotifymediatypes.py,sha256=
|
|
10
|
+
spotifywebapipython/spotifymediatypes.py,sha256=hMjkxhbfTtks0_P8BKmY7qg3EmB2zhH3RT0DbEpb_2s,1628
|
|
11
|
+
spotifywebapipython/spotifytypeprefixes.py,sha256=3yfpxKF7jF694qBuo-PbKYvm70YwwdBoGj9enOpWsAg,1375
|
|
11
12
|
spotifywebapipython/spotifywebapiauthenticationerror.py,sha256=5A0MKvYo3Ypv0ZeSSfLHuFLwzoUUu044bBoUgMfNXNw,3940
|
|
12
13
|
spotifywebapipython/spotifywebapierror.py,sha256=5cga9213J_nFQ0UX4vSn3dpyinASKTRiH0wAR4nLjvs,3147
|
|
13
14
|
spotifywebapipython/spotifywebplayertoken.py,sha256=axj1j1lM7COiiZfpElkJRdnk4AmE6bAQcjKshUIz1Nk,35813
|
|
14
|
-
spotifywebapipython/docs/__init__.html,sha256=
|
|
15
|
+
spotifywebapipython/docs/__init__.html,sha256=B7Ca0_PI5g3P7uYtVRn3bcSGXnH-Zl9dPjCy4NeXFFM,185587
|
|
15
16
|
spotifywebapipython/docs/codecopy.js,sha256=ryuoZwLIL03YitjjFzn49UO5ta7-OBos6LNA3qHhFzs,3120
|
|
16
|
-
spotifywebapipython/docs/index.html,sha256=
|
|
17
|
-
spotifywebapipython/docs/search.js,sha256=
|
|
17
|
+
spotifywebapipython/docs/index.html,sha256=21MQnmOy1a2EjDM8ve8OcarjzJX19o1n0anNZUmzplM,48779
|
|
18
|
+
spotifywebapipython/docs/search.js,sha256=U41gKtSu_T-vtyoPskKxtNbBmLJnWkP1efWob6_vSa0,9147897
|
|
18
19
|
spotifywebapipython/docs/spotifywebapipython.ico,sha256=YImj39fqqSPSuB2-sMDlUYDd6YwRfQeJRtq4FjwWglg,16410
|
|
19
20
|
spotifywebapipython/docs/spotifywebapipython_OLD.ico,sha256=YIv5LjcD4bTIJQSOr8jjwbWaeB3QkElRwkTOePiGbZo,14904
|
|
20
|
-
spotifywebapipython/docs/spotifywebapipython/const.html,sha256=
|
|
21
|
-
spotifywebapipython/docs/spotifywebapipython/saappmessages.html,sha256=
|
|
22
|
-
spotifywebapipython/docs/spotifywebapipython/sautils.html,sha256=
|
|
23
|
-
spotifywebapipython/docs/spotifywebapipython/spotifyapierror.html,sha256=
|
|
24
|
-
spotifywebapipython/docs/spotifywebapipython/spotifyapimessage.html,sha256=
|
|
25
|
-
spotifywebapipython/docs/spotifywebapipython/spotifyauthtoken.html,sha256=
|
|
26
|
-
spotifywebapipython/docs/spotifywebapipython/spotifyclient.html,sha256=
|
|
27
|
-
spotifywebapipython/docs/spotifywebapipython/spotifydiscovery.html,sha256=
|
|
28
|
-
spotifywebapipython/docs/spotifywebapipython/
|
|
29
|
-
spotifywebapipython/docs/spotifywebapipython/
|
|
30
|
-
spotifywebapipython/docs/spotifywebapipython/
|
|
21
|
+
spotifywebapipython/docs/spotifywebapipython/const.html,sha256=qRx7QtpuIPmYMCfZydIi7QDaXcN-hjiefUAvooUjtHU,59805
|
|
22
|
+
spotifywebapipython/docs/spotifywebapipython/saappmessages.html,sha256=JNl5KbQi1aufV741xNAxNAgI525kaD06VdBo-wOjbhg,62358
|
|
23
|
+
spotifywebapipython/docs/spotifywebapipython/sautils.html,sha256=xnOj756AW4mh3VvQ8R7sP7w8GxHDCqAVox2QCYecfNc,61063
|
|
24
|
+
spotifywebapipython/docs/spotifywebapipython/spotifyapierror.html,sha256=heHmJmlRL9hLQwio3zgw_jO8xzA5TCD5e1Q3Tdqmlso,48054
|
|
25
|
+
spotifywebapipython/docs/spotifywebapipython/spotifyapimessage.html,sha256=H0qgCuYoEgWL_U1dVI_UjMrQqIu564GC8kRo8mXX_4s,59210
|
|
26
|
+
spotifywebapipython/docs/spotifywebapipython/spotifyauthtoken.html,sha256=ZmFqfnuGobSaUDNHp4QCu2GjuX3YS6MF0zqYAHdWqFM,59256
|
|
27
|
+
spotifywebapipython/docs/spotifywebapipython/spotifyclient.html,sha256=ffSAZSFgSXzATQ2idss3qNlo8HQ_7z_njWwrZyiGhW4,1670808
|
|
28
|
+
spotifywebapipython/docs/spotifywebapipython/spotifydiscovery.html,sha256=ZA3pKOs5ZVT1B55xXupoSTmVzTjbjt7DrC9AV18Xsu0,57662
|
|
29
|
+
spotifywebapipython/docs/spotifywebapipython/spotifymediatypes.html,sha256=Xhl_VnCgf0jkalpCviWkzcF2Iy03LYGVXVr3aFqXw3Y,51532
|
|
30
|
+
spotifywebapipython/docs/spotifywebapipython/spotifytypeprefixes.html,sha256=AVq43oAigWYemNz6GSiqnO5PQ8E_sJi77YjI1iKq6O8,52401
|
|
31
|
+
spotifywebapipython/docs/spotifywebapipython/spotifywebapiauthenticationerror.html,sha256=O4qBEKOHIMmxduqGVx-0Jwut9g6mOE37LrrboV52dR8,52174
|
|
32
|
+
spotifywebapipython/docs/spotifywebapipython/spotifywebapierror.html,sha256=_noX0xAqHDKOpE3lWr-5dwVW_suY-vLobg4Zkk20uEg,50592
|
|
33
|
+
spotifywebapipython/docs/spotifywebapipython/spotifywebplayertoken.html,sha256=ZwIaV5UuVpijHyZywmKie84TyBWx10tyND3i_UCfhgc,62204
|
|
31
34
|
spotifywebapipython/models/__init__.py,sha256=RwRQhUX-6EUs8XvStVFpR8EPwoqIAz9K6ref-28qHKI,4423
|
|
32
35
|
spotifywebapipython/models/album.py,sha256=U3Pdw0-EL33LdkeiN31fjZ23rlLk6DNGV8jRmZU7EyQ,5170
|
|
33
36
|
spotifywebapipython/models/albumpagesaved.py,sha256=SBYMhkh5ZsMrRAXl-cm9zsxMDh8gO190ENq6Py2TyGY,2417
|
|
@@ -134,8 +137,8 @@ spotifywebapipython/zeroconfapi/zeroconfgetinfo.py,sha256=APayso_F7lCsdzzrkescgd
|
|
|
134
137
|
spotifywebapipython/zeroconfapi/zeroconfgetinfoalias.py,sha256=FZJM23HIPJSfhXIC3-EuS1XhawheoG5maSp7__k4yBo,2932
|
|
135
138
|
spotifywebapipython/zeroconfapi/zeroconfgetinfodrmmediaformat.py,sha256=c5uk8ljsIuBK3w2jahHKQuoWvm245LOjUBitetXx5Mo,2347
|
|
136
139
|
spotifywebapipython/zeroconfapi/zeroconfresponse.py,sha256=mAPIDj5MG53x8peiScrp7OJblwy_o_Sto4wqE0rGujU,6445
|
|
137
|
-
spotifywebapipython-1.0.
|
|
138
|
-
spotifywebapipython-1.0.
|
|
139
|
-
spotifywebapipython-1.0.
|
|
140
|
-
spotifywebapipython-1.0.
|
|
141
|
-
spotifywebapipython-1.0.
|
|
140
|
+
spotifywebapipython-1.0.261.dist-info/LICENSE,sha256=KGcc9g0zwqNLcWnSn_ezv1UtKyhMENFhvtixpxUPNsE,1177
|
|
141
|
+
spotifywebapipython-1.0.261.dist-info/METADATA,sha256=el6L_FCrM5ZEytJpYSFjlPMk3wXY3vUaN3bO35NCv3g,11644
|
|
142
|
+
spotifywebapipython-1.0.261.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
143
|
+
spotifywebapipython-1.0.261.dist-info/top_level.txt,sha256=jTBLFlijKTesYh2dteAz4vb17qjaqWKeDjpnnwTcrjs,20
|
|
144
|
+
spotifywebapipython-1.0.261.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/top_level.txt
RENAMED
|
File without changes
|