spotapi 1.2.0__tar.gz → 1.2.1__tar.gz

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 (45) hide show
  1. {spotapi-1.2.0/spotapi.egg-info → spotapi-1.2.1}/PKG-INFO +1 -1
  2. {spotapi-1.2.0 → spotapi-1.2.1}/setup.py +1 -1
  3. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/client.py +2 -2
  4. {spotapi-1.2.0 → spotapi-1.2.1/spotapi.egg-info}/PKG-INFO +1 -1
  5. {spotapi-1.2.0 → spotapi-1.2.1}/LICENSE +0 -0
  6. {spotapi-1.2.0 → spotapi-1.2.1}/README.md +0 -0
  7. {spotapi-1.2.0 → spotapi-1.2.1}/setup.cfg +0 -0
  8. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/__init__.py +0 -0
  9. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/_tests/__init__.py +0 -0
  10. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/_tests/annotations_test.py +0 -0
  11. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/album.py +0 -0
  12. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/artist.py +0 -0
  13. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/creator.py +0 -0
  14. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/exceptions/__init__.py +0 -0
  15. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/exceptions/errors.py +0 -0
  16. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/family.py +0 -0
  17. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/http/__init__.py +0 -0
  18. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/http/data.py +0 -0
  19. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/http/request.py +0 -0
  20. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/login.py +0 -0
  21. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/password.py +0 -0
  22. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/player.py +0 -0
  23. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/playlist.py +0 -0
  24. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/podcast.py +0 -0
  25. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/public.py +0 -0
  26. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/solvers/__init__.py +0 -0
  27. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/solvers/capmonster.py +0 -0
  28. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/solvers/capsolver.py +0 -0
  29. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/song.py +0 -0
  30. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/status.py +0 -0
  31. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/types/__init__.py +0 -0
  32. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/types/alias.py +0 -0
  33. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/types/annotations.py +0 -0
  34. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/types/data.py +0 -0
  35. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/types/interfaces.py +0 -0
  36. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/user.py +0 -0
  37. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/utils/__init__.py +0 -0
  38. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/utils/logger.py +0 -0
  39. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/utils/saver.py +0 -0
  40. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/utils/strings.py +0 -0
  41. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi/websocket.py +0 -0
  42. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi.egg-info/SOURCES.txt +0 -0
  43. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi.egg-info/dependency_links.txt +0 -0
  44. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi.egg-info/requires.txt +0 -0
  45. {spotapi-1.2.0 → spotapi-1.2.1}/spotapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spotapi
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: A sleek API wrapper for Spotify's private API
5
5
  Home-page: UNKNOWN
6
6
  Author: Aran
@@ -55,5 +55,5 @@ setup(
55
55
  ],
56
56
  long_description=long_description,
57
57
  long_description_content_type="text/markdown",
58
- version="1.2.0",
58
+ version="1.2.1",
59
59
  )
@@ -100,7 +100,7 @@ class BaseClient:
100
100
 
101
101
  def _get_auth_vars(self) -> None:
102
102
  if self.access_token is _Undefined or self.client_id is _Undefined:
103
- totp, timestamp = generate_totp()
103
+ totp, _ = generate_totp()
104
104
  query = {
105
105
  "reason": "init",
106
106
  "productType": "web-player",
@@ -109,7 +109,7 @@ class BaseClient:
109
109
  "totpServer": totp,
110
110
  }
111
111
  resp = self.client.get(
112
- "https://open.spotify.com/get_access_token", params=query
112
+ "https://open.spotify.com/api/token", params=query
113
113
  )
114
114
 
115
115
  if resp.fail:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spotapi
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: A sleek API wrapper for Spotify's private API
5
5
  Home-page: UNKNOWN
6
6
  Author: Aran
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes