Skip to main content

A package that makes spotify users' lives easier!

Project description

spotify_assistant

codecov

A Python package that enriches spotify users' music experience by allowing them to explore their listening trends via REST APIs implemented for Spotify developers.

There is one similar Python package, Spotipy that provides wrapper functions in Python for the Spotify API. This package contains a function for each possible API request, but does not combine any of these requests. Our aim is to create functions that combine multiple requests and provide additional insights for Spotify users.

Authors

  • Caroline Tang
  • Chester Wang
  • Jenit Jain
  • Julie Song

This package was originally created as part of the requirements of DSCI524 (Collaborative Software Development), a course in the Master of Data Science program at the University of British Columbia. All original members of this project abided by the Code of Conduct.

Installation

$ pip install spotify_assistant

Usage

import spotify_assistant

credentials = {clientId:'xxxxxxxxxxxx', clientSecret: 'xxxxxxxxxxxx'}
RandomUser = User(credentials)
RandomUser.get_song_recommendations("Recommended Songs")
RandomUser.get_users_playlists_songs()
RandomUser.get_users_top_genres()
spotify_assistant.User.get_new_releases_by_continent("Asia")

Functions

  • get_users_top_genres(): Returns the top 5 genres of music that a user listens to and has saved in the "Your Music" library.
  • get_song_recommendations(playlist_name, num_songs): Creates a playlist of recommended songs based on user’s top 3 artists.
  • get_playlists_songs(playlists): Returns the songs saved in all the playlists, which are passed as a list to the function.
  • get_new_releases_by_continent(continent, limit): Returns the new releases by continent

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

spotify_assistant was created by Caroline Tang, Julie Song, Jenit Jain, Chester Wang. It is licensed under the terms of the MIT license.

Credits

spotify_assistant was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotify_assistant-1.0.7.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

spotify_assistant-1.0.7-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file spotify_assistant-1.0.7.tar.gz.

File metadata

  • Download URL: spotify_assistant-1.0.7.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for spotify_assistant-1.0.7.tar.gz
Algorithm Hash digest
SHA256 e4138cc218b72acc9ec12b8beb783875d2c167d2b6a1ae08619ede3c0fba7d0d
MD5 a5d4958c3c072d7d585077d690ef9558
BLAKE2b-256 71b0d7e223cc80b2d2c1997714082a2a8a8c36e00449d029e21e72cfa3be701b

See more details on using hashes here.

File details

Details for the file spotify_assistant-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for spotify_assistant-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b7f8feeea016a099ec46e929284b779d0c161fc5d93df546e936ca4f0aa4c1dc
MD5 7acc8135e324d8fb3063ba81a4746da3
BLAKE2b-256 e40ad75eba9a81594498cf40f5382c66fc049bd9dca9139d3519802b841254a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page