🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

hausgemachtspotipy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hausgemachtspotipy

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

0.1.4
PyPI
Maintainers
1

hausgemachtSpotiPy

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 <https://pypi.org/project/spotipy/>__ Python package, the hausgemachtspotipy package focuses on easily querying music artists, albums, and tracks from Spotify.

Installation

To install

.. code:: python

pip install hausgemachtspotipy

To upgrade

.. code:: python

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts