-
Notifications
You must be signed in to change notification settings - Fork 964
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
Provide a way to get a list of all trove classifiers #1241
Comments
Would a JSON endpoint that returns a list of trove classifiers work, or do On Mon, Jun 6, 2016 at 7:09 PM, Brett Cannon [email protected]
"I disapprove of what you say, but I will defend to the death your right to |
We should probably implement the old format either way since it's fairly trivial to do and I'm sure Brett isn't the only person relying on it. |
@dstufft Can you mark this with a "good for new contributor" label? |
Just an FYI a JSON value would be great as that's cleaner to work with. |
To be clear, I think we should get a JSON API for it too. Sorting out a JSON endpoint for this might be a good excuse to sit down and do #284, but I think we should also implement the old format too :) |
I might be able to take this on. A couple questions before I start:
|
Yea it'd go under legacy, you could just stick it in @view_config(route_name="legacy.api.pypi.list_classifiers")
def list_classifiers(request):
pass # TODO: Add an Implementation You'll also need to add a route in config.add_pypi_action_route(
"legacy.api.pypi.list_classifiers",
"list_classifiers",
domain=warehouse,
) |
I.e. https://pypi.python.org/pypi?%3Aaction=list_classifiers
The text was updated successfully, but these errors were encountered: