Medicinal products registry API
New data is fetched every 20 minutes (and this can be changed in code) from the server.
Compilation & usage
To compile, you need to install dependencies by
dep ensure (you need Dep) in project's directory. Then, all you have to do is to run
To run the server, you need to provide the
MPR_ADDR environment variable to tell the server on what to listen (this can be
:8080, for example).
Below screenshot shows all endpoints and fields exposed in the API.
...is welcome! :)