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.
Files changed (27) hide show
  1. spotifywebapipython/__init__.py +2 -0
  2. spotifywebapipython/const.py +1 -1
  3. spotifywebapipython/docs/__init__.html +16 -2
  4. spotifywebapipython/docs/index.html +8 -2
  5. spotifywebapipython/docs/search.js +1 -1
  6. spotifywebapipython/docs/spotifywebapipython/const.html +3 -3
  7. spotifywebapipython/docs/spotifywebapipython/saappmessages.html +26 -8
  8. spotifywebapipython/docs/spotifywebapipython/sautils.html +2 -2
  9. spotifywebapipython/docs/spotifywebapipython/spotifyapierror.html +2 -2
  10. spotifywebapipython/docs/spotifywebapipython/spotifyapimessage.html +2 -2
  11. spotifywebapipython/docs/spotifywebapipython/spotifyauthtoken.html +2 -2
  12. spotifywebapipython/docs/spotifywebapipython/spotifyclient.html +494 -82
  13. spotifywebapipython/docs/spotifywebapipython/spotifydiscovery.html +2 -2
  14. spotifywebapipython/docs/spotifywebapipython/spotifymediatypes.html +441 -0
  15. spotifywebapipython/docs/spotifywebapipython/spotifytypeprefixes.html +458 -0
  16. spotifywebapipython/docs/spotifywebapipython/spotifywebapiauthenticationerror.html +2 -2
  17. spotifywebapipython/docs/spotifywebapipython/spotifywebapierror.html +2 -2
  18. spotifywebapipython/docs/spotifywebapipython/spotifywebplayertoken.html +2 -2
  19. spotifywebapipython/saappmessages.py +6 -1
  20. spotifywebapipython/spotifyclient.py +1004 -341
  21. spotifywebapipython/spotifymediatypes.py +10 -10
  22. spotifywebapipython/spotifytypeprefixes.py +65 -0
  23. {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/METADATA +1 -1
  24. {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/RECORD +27 -24
  25. {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/LICENSE +0 -0
  26. {spotifywebapipython-1.0.260.dist-info → spotifywebapipython-1.0.261.dist-info}/WHEEL +0 -0
  27. {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
- 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
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spotifywebapipython
3
- Version: 1.0.260
3
+ Version: 1.0.261
4
4
  Summary: Spotify Web API Python3 Library
5
5
  Author: Todd Lucas
6
6
  Author-email: <thlucas@yahoo.com>
@@ -1,33 +1,36 @@
1
- spotifywebapipython/__init__.py,sha256=SnB5BsUGChYgcZHjhZenqYZkb_v3c8aiAUQLkp4lYSY,1205
2
- spotifywebapipython/const.py,sha256=dPlADutAwzwr1W48eve-rJYssT_k9QW3-SDgFCD7yQI,3923
3
- spotifywebapipython/saappmessages.py,sha256=KWy4H0ePYARZgtGYc2CHXRY0JOQ0bqr0JuDKRBu-wjA,4645
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=nXBDydPqrL_rthC-fMltJSkhmRZtEP6ZjlEKiFE76Sc,855392
8
+ spotifywebapipython/spotifyclient.py,sha256=h3Oizin4YG7U-KPDSINdSf50ZtThmAdld6WYR86w8so,893394
9
9
  spotifywebapipython/spotifydiscovery.py,sha256=cyysxl8PQj9yGHVbaqhSF3SStlrp-NvfGAudM-dDmg0,20290
10
- spotifywebapipython/spotifymediatypes.py,sha256=MkHdPc1BF5hWo4WA-b4PtoihNKJMTXOe9JdnGpzp79c,1608
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=V9LJRIEPKyCDGD6yrtqualGwdb6oBUrCOwBoNsacjwU,182786
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=bJ9plZVboNCcTxQti-pm9KELqcE1irptD6BdNrgWrSs,48523
17
- spotifywebapipython/docs/search.js,sha256=3flBLbX5Qh_33jzLO1_74QhiuWA_cFEy5FUa-aH9BJA,8968623
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=0zD6doIloAVHiXCiH1tNrrvmH6_5l1rG7jqEfeLVH5A,59805
21
- spotifywebapipython/docs/spotifywebapipython/saappmessages.html,sha256=hRgIlY-dQlbh03CRPt7d2bKFy2cizeH1TT2tJcBVKm8,60895
22
- spotifywebapipython/docs/spotifywebapipython/sautils.html,sha256=LFTzn2nMh23d2imZMU4_kKg9G268Ue908oWqKi0C-Uk,61063
23
- spotifywebapipython/docs/spotifywebapipython/spotifyapierror.html,sha256=SsbfaW3myrDY1QTL_bp6VC17Qnonor1RzXHjqquT8iM,48054
24
- spotifywebapipython/docs/spotifywebapipython/spotifyapimessage.html,sha256=X94qxMzwmUEGLlVvQnDQI_RgZDQLSjNOImCalXR1YUg,59210
25
- spotifywebapipython/docs/spotifywebapipython/spotifyauthtoken.html,sha256=RPvaLZeH1xvOsw2w5VNd1k2Pz-HNT5Dj3rQLiJ-mvo0,59256
26
- spotifywebapipython/docs/spotifywebapipython/spotifyclient.html,sha256=FD81Ab9URK9J_J-5MquUqSkLKpDM3KUNYJZk5p-mDLk,1635516
27
- spotifywebapipython/docs/spotifywebapipython/spotifydiscovery.html,sha256=it_UvMCdNYyZnHYBXlW8WiZLmjXLnX7zLW3lU2fTI8c,57662
28
- spotifywebapipython/docs/spotifywebapipython/spotifywebapiauthenticationerror.html,sha256=RPUGFLn_sz2VplJJ4_dPXOvtotcIg4Thz3ZaPdhZ_BE,52174
29
- spotifywebapipython/docs/spotifywebapipython/spotifywebapierror.html,sha256=OT-IR5e6d3AmXaoY9qO5WZ0pBcRRV5cFpO4SXPhU-gE,50592
30
- spotifywebapipython/docs/spotifywebapipython/spotifywebplayertoken.html,sha256=3PR0j23h_cxa3jxyEU6P3O5WcQE4ztOOhFD6RSZoo78,62204
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.260.dist-info/LICENSE,sha256=KGcc9g0zwqNLcWnSn_ezv1UtKyhMENFhvtixpxUPNsE,1177
138
- spotifywebapipython-1.0.260.dist-info/METADATA,sha256=9GnaRQaJXe9zHzEhRFL88XXiFzkWmPSOC6qrDrNRIec,11644
139
- spotifywebapipython-1.0.260.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
140
- spotifywebapipython-1.0.260.dist-info/top_level.txt,sha256=jTBLFlijKTesYh2dteAz4vb17qjaqWKeDjpnnwTcrjs,20
141
- spotifywebapipython-1.0.260.dist-info/RECORD,,
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,,