I am writing an API client for Wikidata (crates.io/crates/wikibase) and am wondering what the best practices for the user agent are.
There is some info about it here: meta.wikimedia.org/wiki/User-Agent_policy, but it could use some more details for library authors.
I was thinking something like
User-Agent: Library <Version>, User <Version>, Task
would be very easy to understand.
So for running the tests of Wikibase RS I would send:
User-Agent: Wikibase RS<0.1.2>, Task: Testing
and for a wkdr query:
User-Agent: Wikibase RS<0.1.2>, wkdr<0.1.1>,Task: CLI query
The main question is if we have some standard format and how much information would be useful