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

Expose project_urls in JSON API #3831

Closed
nixjdm opened this issue Apr 26, 2018 · 4 comments
Closed

Expose project_urls in JSON API #3831

nixjdm opened this issue Apr 26, 2018 · 4 comments

Comments

@nixjdm
Copy link
Contributor

nixjdm commented Apr 26, 2018

https://packaging.python.org/tutorials/distributing-packages/#project-urls

Related to #3798 / #3820

I realized project_urls is not currently exposed by the JSON API. I propose adding it.

Though the keys in the project_urls dict can be anything, they're fairly standardized, enough to be useful when querying for them over and API. For example, Flask's API response lists its home_page as https://www.palletsprojects.com/p/flask/ (not it's github account which is fairly typical), and puts it's GitHub link in project_urls['Code'], which is not currently in the API response.

@di
Copy link
Member

di commented Apr 26, 2018

@nixjdm Shall I assign this to you?

@nixjdm
Copy link
Contributor Author

nixjdm commented Apr 26, 2018

Sure :) It's so similar it'd be no problem, especially after the other PR get's in.

@tomdottom
Copy link

@nixjdm I was wondering how work was going on this feature?

@nixjdm
Copy link
Contributor Author

nixjdm commented Jun 15, 2018

I had to take off from doing this for a while, but it's done, with pending review as a pull request #4184!

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

No branches or pull requests

3 participants