A library for retrieving iTunes Music Store information.
You can search for albums or tracks and retrieve some model objects:
Melody().searchTracks("lucky") { (tracks, _) in
if let track = tracks?.first {
print("\(track.name): \(track.appleMusicUrl)")
}
}
The appleMusicUrl
will open directly in Music.app
๐
The tests require Conche, install it via Homebrew:
$ brew install --HEAD kylef/formulae/conche
and run the tests:
$ make test