Wikipedia
Wikipedia copied to clipboard
Force users to respect Wikipedia's User Agent policy
(I'm a SRE at the Wikimedia Foundation)
We regularly get contacted by people getting rate limited while using the API, either directly or for example using your library. Our API also gets occasionally and accidentally abused.
To help with those 2 issues, we require API users to define a non-default User-Agent, explained in this document: https://meta.wikimedia.org/wiki/User-Agent_policy
I'm wondering if it would be possible to add documentation in this regard to your library, as well as make the UA a mandatory configuration option.
You can see an example implementation on https://github.com/martin-majlis/Wikipedia-API/issues/63
Thanks