Skip to main content

Access artist, album, and tracks details via Spotify Web API endpoints

Project description

hausgemachtspotipy is a Python package that access music artists, albums, and tracks, directly from the Spotify Data Catalogue via Spotify Web API endpoints.

Inspired by the SpotiPy Python package, the hausgemachtspotipy package focuses on easily querying music artists, albums, and tracks from Spotify.

Installation

To install

pip install hausgemachtspotipy

To upgrade

pip install hausgemachtspotipy --upgrade

Quick Start

Import Libraries

import hausgemachtspotipy as haussp
import pandas as pd
import datetime
import math

Define credentials

client_id = "cd1845f23d914228b14f6bed139ee594"
client_secret = <insert secret key>

Details on obtaining Spotify API credentials, head to

Create Spotify API token

sp = haussp.SpotifyAPI(client_id, client_secret)

Find Artist’s details

artists = sp.search(query="Justin Timberlake")
print(artists)

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

hausgemachtspotipy-0.1.4.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

hausgemachtspotipy-0.1.4-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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