目录
目录README.md

UmeroKit

Easily use Last.fm in your apps.

UmeroKit Logo

Quickstart

Get started by getting the API key from last.fm and using the following method to configure UmeroKit:

UmeroKit.configure(withAPIKey: "YOUR_LASTFM_API_KEY")

Then you can easily use the methods to fetch tags, albums, artists, charts with the default instance of UmeroKit, Umero. Directly call the methods on this instance:

var artists: [UArtist] = []

UmeroKit.configure(withAPIKey: apiKey)

let chart = try await Umero.topChartArtists()

self.artists = chart.artists

let tags = try await Umero.topChartTags()
print(tags)
邀请码