Skip to content

Releases: rryam/MusadoraKit

Version 1.3.0

10 May 18:14
Compare
Choose a tag to compare

New in this Release

You can now fetch an equivalent Apple Music catalog music item for a given music item in the user's library!

Usage:

let album = try await MusadoraKit.libraryAlbum(id: "l.uxuoDQh")
let catalogAlbum = try await album.catalog

print(catalogAlbum)

Version 1.2.0

23 Apr 10:34
Compare
Choose a tag to compare

New in this release

Added MusicAddResourcesRequest and MusicDataPostRequest.

Example usage to add a resource to the user's iCloud Music Library:

let request = MusicAddResourcesRequest(types: [.songs: ["1619816360"]])
let response = try await request.response()

if response {
    print("SUCCESSFULLY ADDED OUT OF TIME BY THE WEEKND TO MY LIBRARY")
}

Version 1.1.0

23 Apr 08:44
Compare
Choose a tag to compare

New in this release

Add MusicCatalogResourcesRequest and MusicLibraryResourcesRequest to fetch multiple types in the same request.

Example usage:

MusicCatalogResourcesRequest:

let request = MusicCatalogResourcesRequest(types: [.songs: ["1456313177"], .albums: ["1531125029", "1575203352"]])
let response = try await request.response()

print(response.songs)
print(response.albums)

MusicLibraryResourcesRequest:

let request = MusicLibraryResourcesRequest(types: [.songs: ["i.pmzqzM0S2rl5N4L"], .playlists: ["p.PkxVBgps2zOdV3r"]])
let response = try await request.response()

print(response.songs)
print(response.playlists)

Version 1.0.2

23 Apr 07:29
Compare
Choose a tag to compare

New in this release

Made the libraries static instead of dynamic

Version 1.0.1

22 Apr 13:23
Compare
Choose a tag to compare

New in this release

Added recently played tracks and stations endpoints to MusicHistoryRequest. Now you can fetch it like:

let stations = MusadoraKit.recentlyPlayedStations()
let tracks = MusadoraKit.recentlyPlayedTracks()

v1.0 Release!

21 Apr 15:41
5a07504
Compare
Choose a tag to compare

After 9 months of working late nights and weekends, I am proud to release MusadoraKit, the ultimate companion to MusicKit.

It simplifies working with Apple Music API and MusicKit, and for you to easily integrate MusicKit into your app.

Looking forward to your feedback!

MusicHistoryRequest & MusicRecommendationRequest Enchancement

20 Apr 20:29
Compare
Choose a tag to compare

MusicHistoryRequest & MusicRecommendationRequest directly support accessing properties:

let request = MusicHistoryRequest(for: .recentlyPlayed)
let response = try await request.response()
print(response.albums)

and

let request = MusicRecommendationRequest()
let response = try await request.response()

guard let recommendation = response.items.first else { return }

print(recommendation.stations)

Enjoy! Thanks @aeip for bringing this enhancement to my attention!

More documentation

14 Apr 10:13
Compare
Choose a tag to compare

Now that all the custom structures are done for suggestions, recommendations, history and charts, I have added more documentation everywhere.

Very close to v1.0!

Catalog requests

10 Apr 13:39
Compare
Choose a tag to compare

Hi there!

Another release for the day. I have added Curator, RadioShow, Station, and RecordLabel. Some are available from iOS 15.4 onwards, so do note that.

Enjoy easily accessing the Apple Music catalog now!

Beta release

10 Apr 08:37
Compare
Choose a tag to compare
Beta release Pre-release
Pre-release

Hi there!

MusadoraKit is finally shaping up, and I am releasing it as a beta! While the custom structures need more love, all the catalog methods are ready to be used in production!

Let me know what you think!