Bandcamp-API icon indicating copy to clipboard operation
Bandcamp-API copied to clipboard

API for searching collection /api/fancollection/1/search_items

Open Peter200lx opened this issue 6 years ago • 0 comments

Playing around with chrome inspect on the fan page I found the search box accesses a nice API: POST JSON to /api/fancollection/1/search_items request JSON:

{
  "fan_id": 1234,
  "search_key": "test",
  "search_type": "collection"
}

Response JSON:

{
  "gifts": [],
  "tralbums": [],
  "redownload_urls": {},
  "search_key": "test",
  "item_lookup": {},
  "similar_gift_ids": {},
  "track_list": []
}

Peter200lx avatar May 07 '18 07:05 Peter200lx