Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- New version API (JSON response) :
- In order to get access to our API you must whitelist IP from where you make requests. Usually must be server IP. Send that IP using this link: Xzone
- Total votes link for auto reward system and NPC: (Method GET)
- https://api.l2topzone.com/v1/server_38383992dsnndsndsndsnn/getServerData
- Response data for Total votes example:
- {"ok": true,"result": {"totalVotes": "0","serverRank": null}}
- This API link can be used to create vote reward using php or java. (Method POST/GET)
- Method POST, parameter ip. Ex. {'ip': '127.0.0.1'}
- https://api.l2topzone.com/v1/server_38383992dsnndsndsndsnn/getUserData
- Method GET
- https://api.l2topzone.com/v1/vote?token=server_38383992dsnndsndsndsnn&ip=IP_ADDRESS_OF_THE_VOTER_HERE
Advertisement
Add Comment
Please, Sign In to add comment