I think that you should expose a public api. I've dug into the ruby gem to find out how you make the request, but it would be nice to have some documentation on it.
The API is currently under development. Although it is open in beta.
Please check https://api.gemnasium.com to see which endpoints are available.