rryam / UmeroKit

Use last.fm in your Apple apps.

Home Page:https://rryam.github.io/UmeroKit/documentation/umerokit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Use last.fm in your Apple apps.

https://rryam.github.io/UmeroKit/documentation/umerokit/

License:MIT License


Languages

Language:Swift 99.6%Language:Shell 0.4%