A client for the Paradox Mods catalogue: search, mod details and releases. Package paradoxmods, module github.com/Rethunk-Tech/go-paradoxmods.
For mod managers and launchers that browse Paradox Mods. It speaks the public API directly: one type per answer, orders named by a constant rather than the API's field names, and every failure an error rather than a zero value. An oversized or hostile answer fails instead of exhausting memory.
go get github.com/Rethunk-Tech/go-paradoxmodsA worked example and the contracts: HUMANS.md.
Client.Searchlists a game's mods by text, tag and one of six orders, with the page capped at the API's largest.Client.Modreads one mod's page, refusing an id that is not a mod id and a mod of another game.Mod.Requiredgives the mods the newest version needs, leaving out the game's downloadable content.Client.Versionslists a mod's versions newest first;Version.Labelis the author's name or the number.PageURLandDownloadURLbuild the site page and the archive address;ValidIDchecks an id first.- Answers are size-capped, redirects off the API's origin are refused, and a refusal is an
*APIErrorcarrying its code and message.
| Doc | Audience |
|---|---|
| HUMANS.md | Running and using the package |
| AGENTS.md | Internals, invariants, and why |
| CONTRIBUTING.md | Process — commits, tests, docs |
| SECURITY.md | Vulnerability disclosure |
| CHANGELOG.md | Release notes |
MIT — see LICENSE. © 2026 Rethunk.Tech, LLC.