Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/machow/tidyspotify

A python port of spotifyr
https://github.com/machow/tidyspotify

Last synced: about 1 month ago
JSON representation

A python port of spotifyr

Awesome Lists containing this project

README

        

tidyspotify
===========

[![Build Status](https://travis-ci.org/machow/tidyspotify.svg?branch=master)](https://travis-ci.org/machow/tidyspotify)

This library is a port of https://github.com/charlie86/spotifyr to python.
It implements the spotify API as a tidy interface, that returns pandas DataFrames.

Installing
----------

```
pip install tidyspotify
```

Examples
-------

```
import os
os.environ['SPOTIPY_CLIENT_ID'] = <>
os.environ['SPOTIPY_CLIENT_SECRET'] = <>

from tidyspotify import get_artist_audio_features

get_artist_audio_features('The Beatles')
```

Note: you currently need to set the client id and secret as environment variables **before** importing tidyspotify.