Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force users to respect Wikipedia's User Agent policy #322

Open
XioNoX opened this issue Jul 14, 2023 · 0 comments
Open

Force users to respect Wikipedia's User Agent policy #322

XioNoX opened this issue Jul 14, 2023 · 0 comments

Comments

@XioNoX
Copy link

XioNoX commented Jul 14, 2023

(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 martin-majlis/Wikipedia-API#63

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant