Melody 0.0.1

Melody 0.0.1

TestsTested
LangLanguage SwiftSwift
License BSD
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Boris Bügling.



Melody 0.0.1

Melody

A library for retrieving iTunes Music Store information.

Usage

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 🎉

Unit Tests

The tests require Conche, install it via Homebrew:

$ brew install --HEAD kylef/formulae/conche

and run the tests:

$ make test