Create Github badge for a product

Is it possible to create Github badge for a product on shields.io?
It requires some publicly available API, which will return, for example, downloads count and version number for a given product. Is there any API for this? I’ve read API section in the documentation, but haven’t found anything appropriate.

Thanks in advance!