Bandcamp Search - No API KEY needed #108
Closed
Tomato6966
started this conversation in
General
Replies: 2 comments 4 replies
-
|
I am not sure how this is related to LavaSrc since BadCamp is a Lavaplayer feature? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Does Bandcamp only return tracks? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Search Tracks on Bandcamp ( a source lavalink supports for links, but no searches )
Search Endpoint:
Example:
It returns:
{ results: SearchTrack[] }and a SearchTrack contains for example:
{ "type": "t", "id": 1171384760, "part": "t", "art_id": 2920979979, "img_id": null, "score": -8822, "weight": 6.02, "bias": 1.0024536, "name": "harry_styles_as_it_was", "band_id": 4239674296, "band_name": "geminis_h1_sectest", "album_name": "0x05_sectest_album<b>xD</b>", "url": "https://geminish1sectest.bandcamp.com/track/harry-styles-as-it-was", "img": "https://f4.bcbits.com/img/a2920979979_3.jpg", "album_id": 97856260, "stat_params": "search_item_id=1171384760&search_item_type=t&search_match_part=%3F&search_page_id=2794770642&search_page_no=0&search_rank=1&search_sig=9fdeb03c43f51cdd31c571ade2319ec9" },track url can be passed to lavalink
img is thumbnail
band_name is equal to author
type: "t" is a track
I recommend following headers
Also supports api with keys, like that
https://bandcamp.com/api/track/3/info?key=${key}&track_id=279317014but that's not neat...Beta Was this translation helpful? Give feedback.
All reactions