The alternative last.fm client for iOS made with SwiftUI
MIT License
(it's actually not available on the App Store... yet)
Features not included:
Copy firstfm/Config/Secrets.example.xcconfig
to firstfm/Config/Secrets.xcconfig
and fill it:
SPOTIFY_API_TOKEN =
LASTFM_API_KEY =
LASTFM_API_SHARED_SECRET =
Get an API key by filling this form.
Fill LASTFM_API_KEY
and LASTFM_API_SHARED_SECRET
in firstfm/Config/Secrets.xcconfig
.
Create a Spotify app and get the keys on the Spotify developer dashboard.
Fill SPOTIFY_API_TOKEN
in firstfm/Config/Secrets.xcconfig
.
The last.fm API does not provide artworks anymore. Instead, it returns a default placeholder image. This is very inconvenient for us, but we have no choice to use another API. To work around this limitation, the app uses the Spotify Search API to search for the entity (artist or album), and uses the images returned by Spotify. This means that:
Update: The app now uses a self-made API: spotify-search-proxy, which adds another layer of cache in front of the Spotify API.
The listening reports (example) which are accessible on the website and the official app are not available on the public API, so this isn't part of the app.
On users profile, there are only "friends" (which seems to be followings). The last.fm API has not been updated to support concept of "following" or "followers", as on the website. Thus, you also can't follow or unfollow users.
The app is not yet available on the App Store for a few reasons: