IC tools

thanks. I was just looking at that on the tools list. I searched for from:TIF#… in discord and saw that the last mention of working on it was 9 months ago or so. I have had something similar to their “MW Networth Tracking” tool, but I need to rewrite it for the API instead of scraping everything, so that I can have it seamlessly grab new galaxies, empires, families, etc. directly from the back-end.

I have a grand plan with that but the current version of my project is just stuck staring at an ended MW round from a year or so ago because I had to manually start each galaxy.

1 Like

At least you get api access :sweat_smile: i just have to deal with scrapping from the rankings page for stuff

Why? What’s yours doing with rankings that needs something not yet available? All of my current one (ignore the bare bones and bugs, It’s not finished) is scraped and there was no issue with doing that.
The API has “Empires” endpoint that you can use to form your own version of the rankings page… It holds the population, net worth and size on it already as well as a lot of other information specific to the API.

minimalistic snippet of docs example response, showing one part of the full response:
image

Or do you just not have access to it? You just need to get your authorisation stuff from pie and you should be golden. I think it’s only the development of it that’s paused, it should still be available to use, as far as I’m aware.

Yrah, i bug pie everynow and then but he is too busy making other things better… i might harras him for my key again soon

Mostly i just want all the connections… with scraping i grt family data, and empire data but need to scrap the family pages to get which empire is what fam, and then need to connect all together with lookups

2 Likes

Yeah, exactly. I have 2 types of scrapes, one for the galaxy (gets the NW, Size, Population) and one for each family’s family page (which, depending on the galaxy, is a lot of traffic. That is especially true if every tool is having to do the same, every tick (which pie knows and is the reason for opening the API in the first place, alongside spitballing the idea to eventually restrict scraping)). The reason for continuously checking the fam pages is that new fams could be created and names change, etc. (Which is only one API call vs the HTTP request for every fam (imagine a SS (like in Supernova) or duos galaxy, pretty much every player is in their own fam).

I would also like to see the API back in the works (it will be after this upgrade, minimum). Because galaxies can have different tick times, that will be something that needs to be obtained and stored on a per-galaxy basis if we want truly dynamic galaxy tracking. If for example the Medusa Merger galaxy opens (or whatever, just a galaxy that isn’t in the game yet) and it has a tick speed of 6 minute ticks (10 ticks per hour), it would be nice for that information to be available in the API and not manually entered because it was said in a discourse topic. Pie is looking at “standardized time calculations” in the discord threads, so it would tie in with that update.

Thinking back, I don’t even think I have auth creds, so I might have to wait a while as well.

1 Like