On Monday, 23 May 2016 at 15:13:56 UTC, Russel Winder wrote:
My need is two write a Python program that queries the running
Dub repository. So I am guessing this is an HTTP-based protocol.
I guess I will have to read the Dub code and deduce/infer/guess
the necessary protocol. Not a problem, but it would have been
easier for me not to have to do this but to have the API. Is
there a repository with the beginnings of something that I
might contribute to?
Here is the declaration of REST API :
https://github.com/dlang/dub-registry/blob/master/source/dubregistry/api.d#L21-L39
For example: http://code.dlang.org/api/packages/dub/info