API dla ✽ ━━〓〓〓〓【RedeYu 1.21.✘】〓〓〓〓━━ ✽ ✔ Pirata ✔ Original ✔ Java ✔ BedRock
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": null,
"domain": "jogar.redeyu.com",
"id": 11764124,
"ip": "198.89.99.228",
"port": 25565,
"query": 25565,
"project_id": null,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780932258,
"last_online": 1780959652,
"icon": null,
"name": "✽ ━━〓〓〓〓【RedeYu 1.21.✘】〓〓〓〓━━ ✽ ✔ Pirata ✔ Original ✔ Java ✔ BedRock",
"connect": "jogar.redeyu.com:25565",
"request": "198.89.99.228:25565",
"map": null,
"gamemode": null,
"version": "1.21",
"numplayers": 4,
"maxplayers": 80,
"bots": 0,
"secured": null,
"private": null,
"country": "BR",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1780932258,
"last_update": 1780959652,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1466,
"language": "pt",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11764124");
$data = json_decode($json, true);
var_dump($data);