spotapi 0.0.0__tar.gz → 0.1.0__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 (31) hide show
  1. spotapi-0.1.0/PKG-INFO +56 -0
  2. {spotapi-0.0.0 → spotapi-0.1.0}/setup.py +6 -0
  3. spotapi-0.1.0/spotapi.egg-info/PKG-INFO +56 -0
  4. spotapi-0.0.0/PKG-INFO +0 -13
  5. spotapi-0.0.0/spotapi.egg-info/PKG-INFO +0 -13
  6. {spotapi-0.0.0 → spotapi-0.1.0}/LICENSE +0 -0
  7. {spotapi-0.0.0 → spotapi-0.1.0}/README.md +0 -0
  8. {spotapi-0.0.0 → spotapi-0.1.0}/setup.cfg +0 -0
  9. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/__init__.py +0 -0
  10. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/artist.py +0 -0
  11. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/client.py +0 -0
  12. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/creator.py +0 -0
  13. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/data/__init__.py +0 -0
  14. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/data/data.py +0 -0
  15. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/data/interfaces.py +0 -0
  16. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/exceptions/__init__.py +0 -0
  17. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/exceptions/errors.py +0 -0
  18. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/family.py +0 -0
  19. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/login.py +0 -0
  20. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/password.py +0 -0
  21. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/playlist.py +0 -0
  22. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/solvers/__init__.py +0 -0
  23. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/solvers/capmonster.py +0 -0
  24. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/solvers/capsolver.py +0 -0
  25. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/song.py +0 -0
  26. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/user.py +0 -0
  27. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi/websocket.py +0 -0
  28. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi.egg-info/SOURCES.txt +0 -0
  29. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi.egg-info/dependency_links.txt +0 -0
  30. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi.egg-info/requires.txt +0 -0
  31. {spotapi-0.0.0 → spotapi-0.1.0}/spotapi.egg-info/top_level.txt +0 -0
spotapi-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.1
2
+ Name: spotapi
3
+ Version: 0.1.0
4
+ Summary: A sleek API wrapper for Spotify's private API
5
+ Home-page: UNKNOWN
6
+ Author: Aran
7
+ License: UNKNOWN
8
+ Keywords: Spotify,API,Spotify API,Spotify Private API,Follow,Like,Creator,Music,Music API,Streaming,Music Data,Track,Playlist,Album,Artist,Music Search,Music Metadata,SpotAPI,Python Spotify Wrapper,Music Automation,Web Scraping,Python Music API,Spotify Integration,Spotify Playlist,Spotify Tracks
9
+ Platform: UNKNOWN
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+
13
+ # SpotAPI
14
+
15
+ Welcome to SpotAPI! This Python library is designed to interact with the private and public Spotify APIs, emulating the requests typically made through a web browser. This wrapper provides a convenient way to access Spotify’s rich set of features programmatically.
16
+
17
+ **Note**: This project is intended solely for educational purposes and should be used responsibly. Accessing private endpoints and scraping data without proper authorization may violate Spotify's terms of service
18
+
19
+ ## Features
20
+ - **Public API Access**: Fetch and manipulate public Spotify data such as playlists, albums, and tracks.
21
+ - **Private API Access**: Experiment with less commonly used Spotify endpoints.
22
+ - **Browser-like Requests**: Mimics the HTTP requests Spotify makes in the browser perfectly, providing an accurate representation of what you’d see on the web interface.
23
+
24
+ ## Quick Example
25
+ ```py
26
+ from spotapi import (
27
+ Login,
28
+ Config,
29
+ NoopLogger,
30
+ solver_clients,
31
+ PrivatePlaylist,
32
+ MongoSaver
33
+ )
34
+
35
+ cfg = Config(
36
+ solver=solver_clients.Capsolver("YOUR_API_KEY", proxy="YOUR_PROXY"),
37
+ logger=NoopLogger(),
38
+ # You can add a proxy by passing a custom TLSClient
39
+ )
40
+
41
+ instance = Login(cfg, "YOUR_PASSWORD", email="YOUR_EMAIL")
42
+ # Now we have a valid Login instance to pass around
43
+ instance.login()
44
+
45
+ # Do whatever you want now
46
+ playlist = PrivatePlaylist(instance, "SOME_PLAYLIST")
47
+ playlist.create_playlist("Spotapi Showcase!")
48
+
49
+ # Save the session
50
+ instance.save(MongoSaver())
51
+ ```
52
+
53
+ [GPL 3.0](https://choosealicense.com/licenses/gpl-3.0/)
54
+
55
+
56
+
@@ -14,6 +14,9 @@ __install_require__ = [
14
14
  "websockets",
15
15
  ]
16
16
 
17
+ with open("README.md", "r") as f:
18
+ long_description = f.read()
19
+
17
20
  setup(
18
21
  name="spotapi",
19
22
  author="Aran",
@@ -47,4 +50,7 @@ setup(
47
50
  "Spotify Playlist",
48
51
  "Spotify Tracks",
49
52
  ],
53
+ long_description=long_description,
54
+ long_description_content_type="text/markdown",
55
+ version="0.1.0",
50
56
  )
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.1
2
+ Name: spotapi
3
+ Version: 0.1.0
4
+ Summary: A sleek API wrapper for Spotify's private API
5
+ Home-page: UNKNOWN
6
+ Author: Aran
7
+ License: UNKNOWN
8
+ Keywords: Spotify,API,Spotify API,Spotify Private API,Follow,Like,Creator,Music,Music API,Streaming,Music Data,Track,Playlist,Album,Artist,Music Search,Music Metadata,SpotAPI,Python Spotify Wrapper,Music Automation,Web Scraping,Python Music API,Spotify Integration,Spotify Playlist,Spotify Tracks
9
+ Platform: UNKNOWN
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+
13
+ # SpotAPI
14
+
15
+ Welcome to SpotAPI! This Python library is designed to interact with the private and public Spotify APIs, emulating the requests typically made through a web browser. This wrapper provides a convenient way to access Spotify’s rich set of features programmatically.
16
+
17
+ **Note**: This project is intended solely for educational purposes and should be used responsibly. Accessing private endpoints and scraping data without proper authorization may violate Spotify's terms of service
18
+
19
+ ## Features
20
+ - **Public API Access**: Fetch and manipulate public Spotify data such as playlists, albums, and tracks.
21
+ - **Private API Access**: Experiment with less commonly used Spotify endpoints.
22
+ - **Browser-like Requests**: Mimics the HTTP requests Spotify makes in the browser perfectly, providing an accurate representation of what you’d see on the web interface.
23
+
24
+ ## Quick Example
25
+ ```py
26
+ from spotapi import (
27
+ Login,
28
+ Config,
29
+ NoopLogger,
30
+ solver_clients,
31
+ PrivatePlaylist,
32
+ MongoSaver
33
+ )
34
+
35
+ cfg = Config(
36
+ solver=solver_clients.Capsolver("YOUR_API_KEY", proxy="YOUR_PROXY"),
37
+ logger=NoopLogger(),
38
+ # You can add a proxy by passing a custom TLSClient
39
+ )
40
+
41
+ instance = Login(cfg, "YOUR_PASSWORD", email="YOUR_EMAIL")
42
+ # Now we have a valid Login instance to pass around
43
+ instance.login()
44
+
45
+ # Do whatever you want now
46
+ playlist = PrivatePlaylist(instance, "SOME_PLAYLIST")
47
+ playlist.create_playlist("Spotapi Showcase!")
48
+
49
+ # Save the session
50
+ instance.save(MongoSaver())
51
+ ```
52
+
53
+ [GPL 3.0](https://choosealicense.com/licenses/gpl-3.0/)
54
+
55
+
56
+
spotapi-0.0.0/PKG-INFO DELETED
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: spotapi
3
- Version: 0.0.0
4
- Summary: A sleek API wrapper for Spotify's private API
5
- Home-page: UNKNOWN
6
- Author: Aran
7
- License: UNKNOWN
8
- Keywords: Spotify,API,Spotify API,Spotify Private API,Follow,Like,Creator,Music,Music API,Streaming,Music Data,Track,Playlist,Album,Artist,Music Search,Music Metadata,SpotAPI,Python Spotify Wrapper,Music Automation,Web Scraping,Python Music API,Spotify Integration,Spotify Playlist,Spotify Tracks
9
- Platform: UNKNOWN
10
- License-File: LICENSE
11
-
12
- UNKNOWN
13
-
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: spotapi
3
- Version: 0.0.0
4
- Summary: A sleek API wrapper for Spotify's private API
5
- Home-page: UNKNOWN
6
- Author: Aran
7
- License: UNKNOWN
8
- Keywords: Spotify,API,Spotify API,Spotify Private API,Follow,Like,Creator,Music,Music API,Streaming,Music Data,Track,Playlist,Album,Artist,Music Search,Music Metadata,SpotAPI,Python Spotify Wrapper,Music Automation,Web Scraping,Python Music API,Spotify Integration,Spotify Playlist,Spotify Tracks
9
- Platform: UNKNOWN
10
- License-File: LICENSE
11
-
12
- UNKNOWN
13
-
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