I’m developping tools that relies on requesting ESI multiple times depending on user behaviour.
I was wondering what was the best practice about it ?
Is it better to avoid any requests when possible ?
For instance to extract prices of certain items, i only request once, and if the file storing results is older than 10mn, i’m requesting again.
But now, i’m creating a tool needing Solar System information, Planets, and adjacent Solar Systems.
Since there are like 7k+ Solar Systems, and since the way ESI work demands multiple requests for 1 single information :
For instance, searching a system by name requires to request url/search/, getting the IDs, filtering IDs, then requesting again with filtered ID to get detailed informations.
Same for adjacent Solar Systems, on top of my previous example, i need to get stargate IDs, then extract system ID, then extract system Name.
Would it be better for me to build my own JSON with all the information i really need, and play with it ?
Or requesting multiple time ESI is not that much of a deal ?