Information link for statistics or auto reward system:
https://l2top.org/api/{API-KEY}/info/
Example of response data:
{"error":0,"result":{"total_votes":0,"monthly_votes":0}}
Individual vote link (IP check). Used to create vote reward using php or java:
https://l2top.org/api/{API-KEY}/ip/{IP-ADDRESS}/
Individual vote link (player name check). Used to create vote reward using php or java:
https://l2top.org/api/{API-KEY}/name/{PLAYER-NAME}/
To use player name check, you need to generate individual vote link for each player:
https://l2top.org/server/{SERVER-ID}/vote/{PLAYER-NAME}/
Example of response data:
{"error":0, "result":{"is_voted":true, "vote_time":1561411321, "server_time":1561411372}}
{"error":0, "result":{"is_voted":false, "vote_time":-1, "server_time":1561411372}}
Example of error response:
{"error":3, "description":"Request address is not valid IP address!"}