|
/api/fancollection/1/following_bands: |
|
post: |
|
summary: Get the bands a user is following |
|
tags: |
|
- Fan Collection |
|
requestBody: |
|
$ref: '#/components/requestBodies/FanCollectionBody' |
|
responses: |
|
'200': |
|
$ref: '#/components/responses/FanCollection' |
The body of the request POST looks the same:
{
"fan_id": 1234,
"older_than_token": "1387353233:2721882214",
"count": 3
}
Except the "older_than_token" field is very different, this time having two fields ##:##:
"date_followed": "18 Dec 2013 07:53:53 GMT",
"band_id": 2721882214,
"token": "1387353233:2721882214",
Again the first field is a timestamp, and the second is an id, but this time there is no type or index variable.
Starting fields can be found from <div id="pagedata" data-blob="{JSON HERE}"> on your fan page. Inside the JSON look for .item_cache.following_bands. I believe any "token" from there can be used to start a POST request to /api/fancollection/1/following_bands
Bandcamp-API/data/bandcamp.yaml
Lines 194 to 203 in 7c30cfc
The body of the request POST looks the same:
Except the
"older_than_token"field is very different, this time having two fields##:##:Again the first field is a timestamp, and the second is an id, but this time there is no type or index variable.
Starting fields can be found from
<div id="pagedata" data-blob="{JSON HERE}">on your fan page. Inside the JSON look for.item_cache.following_bands. I believe any"token"from there can be used to start aPOSTrequest to/api/fancollection/1/following_bands