PouleR / apple-music-api

PHP Wrapper for the Apple Music API
39 stars 13 forks source link

How to see or query Audio Variants? #22

Open gingerbeardman opened 5 months ago

gingerbeardman commented 5 months ago

Is it possible to query these somehow?

https://developer.apple.com/documentation/applemusicapi/albums/attributes

I see attributes on an album using getCatalogAlbum but I do not see audioVariants?

Example queries I'd like to do:

The following albums are available in Dolby Atmos

PouleR commented 5 months ago

Hi @gingerbeardman,

Most likely this can be done by using the extend parameter; see also https://developer.apple.com/documentation/applemusicapi/handling_resource_representation_and_relationships

However that's something I need to confirm and test; do you have the possibility to test this by yourself?

gingerbeardman commented 5 months ago

Yes, I have your script running locally so I can test.

But, I don't know how I should use the extend parameter with the API you provide?