Insufficient API documentation
Wanting to build a scrobbler in PHP for use with the cmus-player and a cron-job, I have searched all available documentation about the Libre.fm API. On most pages, the docs link to the Last.fm API documentation, but the differences (especially regarding authentication) seem not to be documented anywhere.
I did find a Japanese site explaining an interactive authentication which seems to works - but this cannot be used without a GUI, as in my cron-job. My next thought was the method
auth.getMobileSession. According to the Last.fm docs, it accepts a plaintext password, username, API-key and API-sig. When trying this on
https://libre.fm/2.0/, I get the following error:
Invalid parameters - Your request is missing a required parameter
Adding a token, requested using
auth.getToken does not help.
Can someone point me to the relevant documentation, if any?
If there is no such documentation, I am willing to contribute writing it, when the API source code is available.
Kind regards and thank you,