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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file hausgemachtspotipy-0.1.4.tar.gz.

File metadata

  • Download URL: hausgemachtspotipy-0.1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.3 CPython/3.8.3 Darwin/19.6.0

File hashes

Hashes for hausgemachtspotipy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3c03d50130d2389bcfc90650779a81f3a1f41466d179fe602d0a25469c097bf7
MD5 ebe8b299783b1ccfeecb3f86954e5cc2
BLAKE2b-256 49bc67ca1a9d446c8feff131b9421ea462abbdfc2c1446a8898efa831c58ac59

See more details on using hashes here.

File details

Details for the file hausgemachtspotipy-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for hausgemachtspotipy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fd66499e30badfe0ed02d2b1e9dad8627a2e756b62b673b30275726daaf184ef
MD5 4ddf80b68a7293f0ac1f7ecc85443acf
BLAKE2b-256 3528d1a0520e2bc720a82719ba690da28b27646ae565ff6a6cd8d54f3acc3d4c

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