calliope.bandcamp

Access data from Bandcamp.

This module wraps a local fork of the bandcamp_api library.

Authentication

All the APIs used by this module can be accessed without authentication.

Caching

HTTP requests are not cached. At time of writing, api.bandcamp.com requests send the HTTP header Cache-Control: no-cache, no-store.

Package Contents

Classes

BandcampContext

Context for accessing Bandcamp API.

Functions

collection(bandcamp, count=1000)

Export all albums in Bandcamp collection.

class calliope.bandcamp.BandcampContext(config, user=None)

Context for accessing Bandcamp API.

Parameters

Context for accessing Bandcamp API.

Parameters
get_fan_id(self)
calliope.bandcamp.collection(bandcamp, count=1000)

Export all albums in Bandcamp collection.

Parameters

bandcamp (BandcampContext) –

Return type

calliope.playlist.Playlist