The Mod Portal website and API give different results for the latest release of Bio Industries.
It seems like website also sorts by game version (or upload time?) before determining the latest release while the API does not.
Request used to the API: https://mods.factorio.com/api/mods?page_size=max. Specifying the game version in the API call gets rid of the issue but that is unfortunately incompatible with hide_deprecated=false.
edit: I guess this is also related to 66989
Mod Portal and API "latest release" inconsistentcy issue
- BrainGamer_
- Long Handed Inserter
- Posts: 85
- Joined: Sun Nov 14, 2021 9:52 pm
- Contact:
Re: Mod Portal and API "latest release" inconsistentcy issue
I fixed the version filter overriding hide_deprecated=false. Fixing the API <-> mod portal inconsistency will take some more work, but we'll do something about it before 2.0 releases.BrainGamer_ wrote: ↑Tue Jun 11, 2024 4:32 amRequest used to the API: https://mods.factorio.com/api/mods?page_size=max. Specifying the game version in the API call gets rid of the issue but that is unfortunately incompatible with hide_deprecated=false.
bringing the oops to devops
- BrainGamer_
- Long Handed Inserter
- Posts: 85
- Joined: Sun Nov 14, 2021 9:52 pm
- Contact:
Re: Mod Portal and API "latest release" inconsistentcy issue
Amazing! Thanks a lot