It looks to me like MusicKit is only available on beta iOS versions. I'm pretty sure, however, I've seen a way to do it before without using MusicKit. Is this possible? I've been searching around for a while now and I've only found things about MusicKit.
I know it's possible on macOS — can I use the same API?
EDIT: All I need to do it get a list of the user's songs/albums. I don't need any functionality to play the songs.