In discover(params), params has the following changes:
- Removed
artistRecommendationType, as Bandcamp removed 'artist recommended' fromsortByoption values. formatreplaced bycategory, to which Bandcamp added the 't-shirt' option value.- Added
merchImageFormatfor setting the format of t-shirt images. - Added
customTagsfor specifiying tag values. - Removed
page, as Bandcamp now uses cursors instead of page numbers. Usecontinuationreturned indiscover()result to obtain the next set of results.
In discover() result, items can now be Album or Shirt.
Bandcamp used to have a dedicated page for showing albums by tag. That page has been replaced by Bandcamp Discover. The Tag API has accordingly been revised as follows:
- Removed
getInfo().getAlbumHighlights(),getReleases()andgetReleasesAvailableFilters()methods. - Added
getRelated()for fetching related tags.
The data structure of Tag has also changed with the removal of url, related and isLocation properties.
To obtain albums by tag, use discover(params) of the Discovery API instead, and pass customTags in params.
- In
getSuggestions(params),params.limitonly applies whenitemTypeisItemType.Location.