API for available sectors
An API returning all the currents sectors in use would be great (with total population in it, main race occupying it... for example).
I am building a program and I could check each sector if they were in a small area but since the zolarg worlds are located at something like -200... (if I'm not mistaken) it is impossible.
The "sector map" API without the coordinates parameters returns the 0;0 sector.. https://www.my-colony.com/api.php?pf=3&g=1
I hope you understand what I mean. If such an API is possible, please make it avalaible ! Thank you !
By the way I wonder how you check for the top 10 populations since they are from different sectors... https://www.my-colony.com/colonies/
I will try. Live population stats might be a pretty expensive query to do, but maybe I can add some sort of daily process that compiles the data and stores it.
Thank you ! Looking forward to it. Live population is not necessary for me right now, I just need a list of the sectors, but the more data you provide the better.
Any news regarding this ?
Sorry, I have not gotten around to it yet :-/
@bastecklein allow me to ask you that once more after 2 years, but recently we discovered a new sector was being "populated" https://www.my-colony.com/api.php?pf=3&g=1&sx=0&sy=-3 . If I don't know the sector, colonies don't appear in Coloniae and the game stats are wrong as well.
I guess I could make a program that checks the neighbours of each sector but there are some that are very far like the zolarg ones.
The api should just return a list of sectors (no need for population or other stats)