Repertorio
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')
Metadata
Release files for repertorio 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repertorio-0.0.2.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repertorio-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / repertorio-0.0.2.tar.gz
| Download URL | repertorio-0.0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c42f71c0faf957238c75dce61fe3dbee11b1639e8b092b6bec0a594e1a70b425
|
|
BLAKE2b-256 checksum How to use checksums |
d69a22b1c05032148a4c2c54222a95e9dc4a6fa1c7d1e5b051b8b779ee00cd79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.1
|
Release files / repertorio-0.0.2-py3-none-any.whl
| Download URL | repertorio-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7662090d941c00b1d2d74bcae56261e33cb08703208c7d0719b944d71567469b
|
|
BLAKE2b-256 checksum How to use checksums |
54c5bc3887cf19bfdb6cac10fd0da2d992ab3dab9324fcf50d1d4b08a6967ec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.1
|