How do I buy all the songs at a time from iTunes that come back from the iTunes search API?

I am working on a music application using what we can listen to, buy (iTunes), share songs. My problem is that the user is looking for a song with a keyword that we can find in iTunes using the iTunes API, we must provide an option that buys all the songs or selected songs, among which the search API is returned in one transaction, like in a musical shazam application.
Is it possible to purchase several songs (or albums) at a time, please help me do this.

thanks...

+5
source share
1 answer

Finally, I got a solution for this. I am posting an answer because it can help others.

We can do this using the AffiliateColections function in iTunes. In fact, this entire process should be performed by our application server. If we send the selected song data to our server, then our server will ask iTunes to create a collection with these elements. See iTunes Partner Program for more information.

+2
source

Source: https://habr.com/ru/post/1207722/


All Articles