目录
目录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)
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号