Bandcamp-API
Bandcamp-API copied to clipboard
More information for following_bands
https://github.com/michaelherger/Bandcamp-API/blob/7c30cfc67543e4ad681b98f8e196c3597c3e3bdb/data/bandcamp.yaml#L194-L203
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
It appears that /api/fancollection/1/followers
has the same rules where token is a two-field entry for "date_followed":"fan_id"
. Tokens can be found from .item_cache.followers
.