Slider blog

Wednesday, October 30, 2019

API


 

Recover game data.
API for grepolis worlds data.

To help developers of external sites statistics, we make available for download the data of the most important worlds. Player attributes, cities and alliances are thus available for download regularly. We also provide information on the conquests of the city from a world in UNIX timestamp and content profiles.

Load the data only when you need it in order not to overload the server query. Scripts loading the data more than once per hour are not allowed. It is best to host them on an external site in that case. Note that the data is updated at regular intervals based on the world selected.

The files are available in .txt.gz or (.txt) format and there are 11 in total. Each file consists of an arbitrary number of comma-separated lines. The data is encoded PHP format, which means that a comma is expressed by %.

For download, it is necessary to replace (ptX) by the identification number of the desired world (pt62 for Sestos , zz12 for Beta Sandbox12 , etc ...)

http://ptX.grepolis.com/data/players.txt.gz
This file contains information about the players. The data is available in the following order:
(id) (name) (alliance_id) (points) (rank) (towns)

http://ptX.grepolis.com/data/alliances.txt.gz
This file contains information about the alliances. The data is available in the following order:
(id) (name) (points) (village members) (rank)

http://ptX.grepolis.com/data/towns.txt.gz
This file contains information on cities. The data is available in the following order:
(id) (player_id) (name) (island_x) (island_y) (number_on_island) (points)

http://ptX.grepolis.com/data/islands.txt.gz
This file contains information about the islands. The data is available in the following order:
(id) (x) (y) (island_type) (available_towns)

http://ptX.grepolis.com/data/player_kills_all.txt.gz
This file contains information about the classification of combatants. The data is available in the following order:  (rank) (player_id) (points)

http://ptX.grepolis.com/data/player_kills_att.txt.gz
This fil contains information about the classification  of attackers fighters. The data is available in the following order:  (rank) (player_id) (points)

http://ptX.grepolis.com/data/player_kills_def.txt.gz
This file contains information about the classification of players in the defense. The data are available in the following order: (rank) (player_id) (points)

http://ptX.grepolis.com/data/alliance_kills_all.txt(.gz)
This file contains information about the classification  of alliances in the fighting. The data is available in the following order: (rank) (alliance_id)  (points)

http://ptX.grepolis.com/data/alliance_kills_att.txt(.gz)
This file contains information about the classification  of alliances attacking fighters. The data is available in the following order: (rank) (alliance_id) (points)

http://ptX.grepolis.com/data/alliance_kills_def.txt(.gz)
This file contains information about the classification  of alliances fighting defenders. The data is available in the following order:  (rank) (alliance_id) (points)

http://ptX.grepolis.com/data/conquers.txt(.gz)
This file contains information on the cities taken from the opening of the world. The data is available in the following order: (Town_id) (time) (new_player_id)  (old_player_id) (new_ally_id) (old_ally_id) (town_points)

More:
https://ptX.grepolis.com/data/buildings.json
https://ptX.grepolis.com/data/units.json
https://ptX.grepolis.com/data/researches.json

Texte format:  (.txt)
.rar format to download:  (.gz)


No Pub
Do you like Themes and want to help keep this blog up and running with all the surrounding structure, site hosting images, files and more? so share your back to your friends and enemies of the game and if you can do a good deed donate a coin then thank you for sure it will help a lot,  click here to know more.

https://grepotemas.blogspot.com/p/temas-grepolis.html

No comments:

Post a Comment