To use, replace YOUR-MOD with your mod
Download Count:
Code: Select all
![https://mods.factorio.com/mod/YOUR-MOD](https://img.shields.io/badge/dynamic/json.svg?label=downloads&url=https%3A%2F%2Fmods.factorio.com%2Fapi%2Fmods%2FYOUR-MOD&query=%24.downloads_count&colorB=%23a87723)
Code: Select all
![https://mods.factorio.com/mod/YOUR-MOD](https://img.shields.io/badge/dynamic/json.svg?label=factorio%20version&url=https%3A%2F%2Fmods.factorio.com%2Fapi%2Fmods%2Fliquid-science&query=%24.releases%5B-1%3A%5D.info_json.factorio_version&colorB=%23a87723)
Code: Select all
![https://mods.factorio.com/mod/YOUR-MOD](https://img.shields.io/badge/dynamic/json.svg?label=version&url=https%3A%2F%2Fmods.factorio.com%2Fapi%2Fmods%2FYOUR-MOD&query=%24.releases%5B-1%3A%5D.version&colorB=%23a87723)
To generate other ones you can scroll to the Dynamic section on https://shields.io and enter these values:
Data Type: JSON
Name: This is the text before the number, like "downloads" 510
URL: https://mods.factorio.com/api/mods/YOUR-MOD
Query: One of these
Code: Select all
$.downloads_count - The number of downloads
$.name - The name of the project
$.owner - The owner of the project
$.title - The title of the project
$.releases[0].version - The version of the first release
$.releases[0].info_json.factorio_version - The factorio version of the first release
$.releases[-1:].version - The version of the latest release
$.releases[-1:].info_json.factorio_version - The factorio version of the latest release
Hex Color: Choose a color from https://www.google.com/search?q=color+picker and copy the value starting with a #