Page 1 of 1

Mod Browser API - Image URLs for mods and in search listings.

Posted: Thu May 30, 2019 1:34 pm
by PhonicUK
Right now there's no way to get an image for a given mod for use in an external browser/manager without scraping the page for that specific mod and looking for a `img[data-filename]` - which isn't ideal when you want to blitz through a bunch of search results.

I'd like to ask if results for mods obtained through the API contained either the full image URL for the icon or the UUID of the image used so it can be pulled.

Edit: I've been told about the /full endpoint for single mods, but that doesn't help with listings. The Result Entry would need to be amended to include this. https://wiki.factorio.com/Mod_portal_API#Result_Entry

Re: Mod Browser API - Image URLs for mods and in search listings.

Posted: Wed Jun 05, 2019 2:26 pm
by Sanqui
I've changed the API so that it returns thumbnail URLs for lists too.