On Saturday, 6 August 2016 at 20:00:53 UTC, Basile B. wrote:
On Saturday, 6 August 2016 at 19:06:34 UTC, Sebastiaan Koppe wrote:
- code.dlang.org has an api but doesn't provide an endpoint to retrieve all packages/version. Now I just scrape the site instead (thanks Adam for your dom implementation).


No endpoint but still possible in two steps.
Yeah, I considered something like that myself. I find scraping to be better for both sides though, and simpler. A good api would certainly be better.

On Saturday, 6 August 2016 at 20:08:47 UTC, Seb wrote:
Why don't you make a PR to the dub registry (https://github.com/dlang/dub-registry) to get such an endpoint? Or at least open an issue ;-)
https://github.com/dlang/dub-registry/issues/171

Reply via email to