I want to be able to pull up a certain song in the user's iCloud Music Library in the Music app from my app. I know it's possible to use one of Apple's APIs to pull up a song based on a search query in the iTunes Store, but I'm wondering if it's possible to go directly to the Music app is the user has already purchased that song. If I have the song as an MPMediaItem, maybe I can input a search query with the data from that MPMediaItem and go from there.
The key might be in the Apple Music API:
developer.apple[dot]com/documentation/applemusicapi
I don't know enough about it or anything else that might of use to this situation.
How can I go about doing this?