This project accesses the Spotify API to retrieve data from a favorite playlist. It demonstrates how to interact with Spotify's web API using Python.
- Connect to Spotify API
- Retrieve playlist data
- Display playlist details
- Python 3.x
- Spotify Developer Account
- Clone the repository:
git clone https://github.com/Amanda-Amaral/Spotify-API.git
- Navigate to the project directory:
cd Spotify-API - Install dependencies:
pip install -r requirements.txt
- Obtain Spotify API credentials from Spotify Developer Dashboard.
- Set your credentials as environment variables:
export SPOTIFY_CLIENT_ID='your_client_id' export SPOTIFY_CLIENT_SECRET='your_client_secret'
- Run the script:
python spotify_case_playlist.py
spotify_case_playlist.py: Main script to access and display playlist data.projeto spotify.pptx: Presentation outlining the project.Client_Spotify.txt: Contains client information (ensure this is properly secured).
Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.