EuIrcBot icon indicating copy to clipboard operation
EuIrcBot copied to clipboard

bandcamp plugin

Open cbgbt opened this issue 11 years ago • 3 comments
trafficstars

Linking an album or artist or whatever should show some metatadata. Not sure how able we are to actually pull this off, as I don't know if this is normalized across bandcamp pages.

cbgbt avatar Jul 25 '14 22:07 cbgbt

Worst case we could just use the title. A quick google shows bandcamp has an npm module / api, so that looks quite doable. https://www.npmjs.org/package/bandcamp

euank avatar Jul 26 '14 01:07 euank

I contacted bandcamp to see if they would give an api key for this project and they gave this response:

Thanks for your interest. Our APIs are currently limited to Label Accounts (bandcamp.com/labels) looking to pull physical order and general sales information, though that might change down the road. Please keep an eye on bandcamp.com/developer for updates.

So that's a no go on the bandcamp API.

Abdiramen avatar Jun 01 '18 16:06 Abdiramen

We ran into this for the amazon module as well, and using xray is working well enough there.

I'd have no problem with css-selectoring bandcamp pages until thy have a proper api.

The amazon module's code serves as a good example imo:

https://github.com/euank/EuIrcBot/blob/b44ed0ae2262b8cb855fd48ba0fec8b4f3f9dc4d/modules/amazon/index.js#L32-L34

euank avatar Jun 01 '18 17:06 euank