bbcapis icon indicating copy to clipboard operation
bbcapis copied to clipboard

Trying to get datas about the tracks played on a radio show

Open spiff-radio opened this issue 2 years ago • 0 comments

Hi, maybe you'll be able to help me here. I'm working on a little app, and I'm trying to get the tracks list from a radio show - even if it is no more playable on the BBC website.

Let's take this example : https://www.bbc.co.uk/programmes/m001g7x7

I found out this API endpoint /nitro/api/items?programme=m001g7x7 I get the tracks title but not the track artists.

Using /nitro/api/items?programme=m001g7x7&mixin=contributions I can get the detailed artists data - but too detailed, I would need to parse them (multiple artists, featuring artists, ...) to get a single string. I'm sure they have something simpler.

Do you know a way to get the tracklist data as shown on https://www.bbc.co.uk/programmes/m001g7x7 ?

Thanks a lot!

spiff-radio avatar Nov 29 '23 12:11 spiff-radio