Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Add nice detail pages with downstream version availability information #5

Open
tianon opened this issue Jul 31, 2014 · 1 comment
Open

Comments

@tianon
Copy link
Member

tianon commented Jul 31, 2014

@paultag talked about this in #hy recently, wanting to do some fun scraping and stuff to make sure it's always up-to-date

@tianon
Copy link
Member Author

tianon commented Jul 31, 2014

Here's something I wrote to gather version information for "hylang" on the Docker Hub:

(import requests)

(for [tag (.json (requests.get "https://index.docker.io/v1/repositories/hylang/tags"))]
    (print (get tag "name")))

(please don't judge me too hard, this is admittedly one of the first Hy scripts I've ever written, which is why I'm pasting it here instead of in a PR 💃)

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

No branches or pull requests

1 participant