So, the app I'm working on now supports scrobbling to both last.fm and ListenBrains.
With the former, I build the app with my own API_KEY and SHARED_SECRET, then the actual user has to add their username/password, which gets stored in the Apple keychain.
With the latter, I don't need a API KEY built into the app, and they just login with a username and a token.
Would I be right that I could just duplicate the listenbrainz code with that new endpoint and it would work the same way?