I'm looking into reviving my old tool "KSP Mod Analyzer" from 2017 and more specific making the CurseForge parser work. The old CurseForge page layout was changed and did not show the supported mod version in the list of mods (https://www.curseforge.com/kerbal/ksp-mods), instead the only way forward (as far as I can see) is to brute force as follows:
- Parse each of the 49 pages with the mod names (20 mods / page)
- Then, request each individual mod page (e.g. https://www.curseforge.com/kerbal/ksp-mods/mechjeb/files) for the supported KSP version
- This approach would be 49 * 20 = 980 individual requests to CurseForge to get all data...
I have read something about a new CurseForge API, would that be a way forward? It looks like an involved process for approval and then the question is how to manage a secret API key for an open source project on GitHub... I just need a dump of all CurseForge mods with basic data like supported KSP version, similar to the data provided by the SpaceDock API.
Here is a link to the thread from 2017 for reference: