A setlist.fm API wrapper.
Project description
Repertorio is a setlist.fm API wrapper for Python. It provides an interface to query the setlist.fm endpoints and look for artists, venues, setlists and such.
For more information on the setlist.fm API, please refer to the documentation.
For the full documentation refer to Repertorio documentation.
Usage
from repertorio import Repertorio api = Repertorio('setlistfm-api-key') api.artists(artistName='alice', sort='relevance')
Search endpoints
The API search endpoints return multiple results, in case of match, and require keyword arguments to perform the query. Refer to the API documentation for details of supported keyword arguments and response formats.
api.artists(artistName='foo') api.cities(name='caxias do sul') api.countries() # countries is an exception, it doesn't require or support any keyword arguments api.setlists(artistName='foo') api.venues(name='olympia theatre')
Resource endpoints
The API resource endpoints return a single result and, as such, require a “primary key” argument to perform the query. Refer to the API documentation for further details.
api.artist('artist-mbid') api.artist_setlists('artist-mbid') api.city('city-geoId') api.setlist('setlistId') api.setlist_version('versionId') api.user('userId') api.user_attended('userId') api.user_edited('userId') api.venue('venueId') api.venue_setlists('venueId')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size repertorio-0.0.1-py3-none-any.whl (5.3 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size repertorio-0.0.1.tar.gz (3.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for repertorio-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae50762f72afd41f49dcc5f761eeb08f5f5f98179ece674fbcf6104bb2f7ff18 |
|
MD5 | 5c897177ccdd20248d9910895fa5d7db |
|
BLAKE2-256 | 00bc36e8ca142389690841eac9f8406bc33e86eda0a2bc57289fd07d94e0f7e8 |