Metadata-Version: 2.1
Name: SpotifyUtil
Version: 0.0.0.7
Summary: SpotifyUtils is a very useful library made over Spotipy to automate some rather tiring tasks.
Home-page: https://github.com/Arg0naut18/SpotifyUtil
Author: Arg0naut18
Author-email: Arg0naut18 <gaming.genos1729@gmail.com>
Project-URL: Homepage, https://github.com/Arg0naut18/SpotifyUtil
Keywords: Spotify,Spotipy,SpotifyUtil,SpotifyUtils
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >= 3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# SpotifyUtil
SpotifyUtils is a very useful library made over Spotipy to automate some rather tiring tasks.

## Features
- Add songs to a playlist/album (creates one if name is provided instead of playlist url)
- Add songs to a playlist/album from a text file if it has the tracks' name and artist ("Name - Artist" format) in a newline separated way.
- Removes duplicates while adding songs if the flag is set to true.
- Creates a playlist out of your liked songs
- Create a playlist out of all the unavailable songs present in your playlist. Can also avoid unavailable songs while creating a new playlist.

## Usage
```python
from SpotifyUtil import SpotifyUtil

os.environ["SPOTIPY_CLIENT_ID"] = "Your Spotify Client ID"
os.environ["SPOTIPY_CLIENT_SECRET"] = "Your Spotify Client Secret"
os.environ["SPOTIPY_REDIRECT_URI"] = "Your Spotify Redirect URI"

sp = SpotifyUtil()
sp.add_liked_songs_to_playlist(name="Test Liked songs", limit=20)
```
or
```python
from SpotifyUtil import SpotifyUtil


sp = SpotifyUtil(
    spotify_client_id="Your Spotify Client ID",
    spotify_client_secret="Your Spotify Client Secret",
    spotify_redirect_uri="Your Spotify Redirect URI"
    )
    
sp.add_liked_songs_to_playlist(name="Test Liked songs", limit=20)
```
