initial commit

This commit is contained in:
2026-06-06 13:04:04 +02:00
commit 66534f8a52
6 changed files with 138 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import bcfetch from 'bandcamp-fetch';
const username = 'KeksNino';
const params = {
target: username,
imageFormat: 'art_app_large'
}
bcfetch.fan.getWishlist(params).then(async (wishlist) => {
console.log(JSON.stringify(wishlist, null, 2));
if (wishlist.continuation) {
console.log('Fetching more by continuation...')
const moreResults = await bcfetch.fan.getWishlist({
...params,
target: wishlist.continuation
});
console.log(JSON.stringify(moreResults, null, 2));
}
});