Feature Request -- Interface to sort mod portal json API

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
Uthrom
Inserter
Inserter
Posts: 33
Joined: Fri Jan 11, 2019 4:01 pm
Contact:

Feature Request -- Interface to sort mod portal json API

Post by Uthrom »

TL;DR
Please add the ability to sort the json output from https://mods.factorio.com/api/mods, possibly only by last updated date. (I don't care about the rest)
What ?
In viewtopic.php?f=6&t=87788 I was told to use the mod json API to pull lists of mods for another project I'm working on, however the API does not provide a method of filtering the results, meaning that my project will have to download all mods each time, sort them on my end, and then do what I want to do with them, even if I only need 10-20 mods instead of all of them.
Why ?
Efficiency. We're all better off not wasting bandwidth and CPU cycles tossing unnecessary data around.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Feature Request -- Interface to sort mod portal json API

Post by ssilk »

moved from suggestions to mod portal
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: Feature Request -- Interface to sort mod portal json API

Post by vinzenz »

Uthrom wrote:
Wed Aug 19, 2020 10:39 pm
Please add the ability to sort the json output from https://mods.factorio.com/api/mods, possibly only by last updated date. (I don't care about the rest)
Just deployed an update which makes this possible: https://mods.factorio.com/api/mods?sort ... order=desc

You can find more details here: https://wiki.factorio.com/Mod_portal_API#.2Fapi.2Fmods
bringing the oops to devops

Uthrom
Inserter
Inserter
Posts: 33
Joined: Fri Jan 11, 2019 4:01 pm
Contact:

Re: Feature Request -- Interface to sort mod portal json API

Post by Uthrom »

vinzenz wrote:
Tue Mar 22, 2022 1:52 pm
Uthrom wrote:
Wed Aug 19, 2020 10:39 pm
Please add the ability to sort the json output from https://mods.factorio.com/api/mods, possibly only by last updated date. (I don't care about the rest)
Just deployed an update which makes this possible: https://mods.factorio.com/api/mods?sort ... order=desc

You can find more details here: https://wiki.factorio.com/Mod_portal_API#.2Fapi.2Fmods
Awesome, thank you for the update.

Post Reply

Return to “Mod portal Discussion”