Add [CurseForge] badges (#9252)
* add curseforge downloads badge * Add more [CurseForge] badges Adds the following badges: - /curseforge/dt/:projectId (downloads) - /curseforge/game-versions/:projectId (game versions) - /curseforge/v/:projectId (version) The following secret: - CURSEFORGE_API_KEY (yml: private.curseforge_api_key) * Remove default logo from badges * Linter fixes * Rename `errorMessages` to `httpErrors` * Remove namedLogo from ModrinthGameVersions badge * Remove namedLogo from ModrinthVersion badge * Remove namedLogo from ModrinthFollowers badge --------- Co-authored-by: Minecraftschurli <minecraftschurli@gmail.com> Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
This commit is contained in:
@@ -97,6 +97,19 @@ self-hosted Shields installation access to private repositories hosted on bitbuc
|
||||
Bitbucket badges use basic auth. Provide a username and password to give your
|
||||
self-hosted Shields installation access to a private Bitbucket Server instance.
|
||||
|
||||
### CurseForge
|
||||
|
||||
- `CURSEFORGE_API_KEY` (yml: `private.curseforge_api_key`)
|
||||
|
||||
A CurseForge API key is required to use the [CurseForge API][cf api]. To obtain
|
||||
an API key, [signup to CurseForge Console][cf signup] with a Google account and
|
||||
create an organization, then go to the [API keys page][cf api key] and copy the
|
||||
generated API key.
|
||||
|
||||
[cf api]: https://docs.curseforge.com
|
||||
[cf signup]: https://console.curseforge.com/#/signup
|
||||
[cf api key]: https://console.curseforge.com/#/api-keys
|
||||
|
||||
### Discord
|
||||
|
||||
Using a token for Dicsord is optional but will allow higher API rates.
|
||||
|
||||
Reference in New Issue
Block a user