Find User here you can look for a user

API for available sectors

6y
#1
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/
Creator of Coloniae
Admin of the MC2 translation project
6y
#2
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.
Owner of Ape Apps, LLC
6y
#3
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.
Creator of Coloniae
Admin of the MC2 translation project
6y
#4
Any news regarding this ?
Creator of Coloniae
Admin of the MC2 translation project
6y
#5
Sorry, I have not gotten around to it yet :-/
Owner of Ape Apps, LLC
4y
#6
@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)
Creator of Coloniae
Admin of the MC2 translation project
4y
#7
Here you go @Sobeirannovaocc

https://www.ape-apps.com/viewpage.php?p=36752
Owner of Ape Apps, LLC

Linkback References

My Colony





Welcome
Ape Apps, LLC is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day