I needed a solution to retrieve all versions of Minecraft and Forge in order to automatically fill in the options of a form in a web interface I developed for a personal project enabling me to deploy Minecraft servers using Docker.
That's why I developed this API, which updates regularly and automatically.
I decided to make it public, so, if you need to retrieve Minecraft and Forge versions for your projects, you can use it ;)
(I will probably add other versions like alpha, beta, snapshots and Bedrock versions in the future)
This API allows you to retrieve versions of Minecraft java and forge, or specific versions of forge based on a version of Minecraft Java.
It's also possible to retrieve versions corresponding to a text, to create an autocomplete field in a form for example.
For further information, please refer to the documentation.