Skip to content

Improve User-Agent to avoid rate limiting #350

@brightbyte

Description

@brightbyte

Hi, I'm Daniel Kinzler, Principal Engineer at the Wikimedia Foundation. Your framework is showing up as one of the top clients for our APIs - nice work!

We are in the process of rolling out rate limiting for our APIs, with the next stage due in April. When we do, requests from your framework are likely to get severely rate limited, because the User-Agent header it is sending is not compliant with the API usage guidelines. While it matches the format specified in the user agent policy, the problem is that the contact information in the User-Agent header points to the framework's Github page, instead of providing a way to contact the operator of the script.

Please provide a mechanism that allows (ideally, requires) users of your framework to provider their own contact info, for inclusion in the User-Agent header. Alternatively, provide a way for users to authenticate with a wiki account - authenticated API requests have far higher rate limits.

If you have question, you can find my contact information at https://www.mediawiki.org/wiki/User:DKinzler_(WMF).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions