-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add JSON APIs #40
Comments
HTML is machine readable too, but scraping is a pain compared to using JSON results. |
A JSON API is something I do want to add in the near term; I'm looking to transition the tools to node.js, which seems much better suited than PHP to building an API. I did a very early prototype yesterday; if all goes well I'll have an OAuth login (#30) on node.js, and I'll port the framework and move the tools over one by one (building an API for each as part of the migration). |
I too would like an API for AccountEligibility. |
For reference, here's the code I have that's scraping AccountEligibility: https://gitlab.wikimedia.org/toolforge-repos/poty-stuff/-/blob/main/src/eligibility.rs?ref_type=heads#L9 - it's primarily looking for the |
It would be great if there were some way to query account eligibility in a machine-readable format. The output could be something like JSON, XML, or YAML. JSON would be my preference.
[This is a feature request/enhancement, not a bug.]
The text was updated successfully, but these errors were encountered: