Minecraft
API pentru SkyBlock 0wcSWVanila+ Сервера 1.21.11 - 1.21.4 WaildCraft
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11491965json
{
"response": {
"steam_id": null,
"domain": "ways-jon.gl.joinmc.link",
"id": 11491965,
"ip": "147.185.221.31",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Sydney",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1778590337,
"score": 0,
"last_online": 1777835451,
"icon": null,
"name": "SkyBlock 0wcSWVanila+ Сервера 1.21.11 - 1.21.4 WaildCraft",
"connect": "ways-jon.gl.joinmc.link:25565",
"request": "147.185.221.31:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-26.1.2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1777834191,
"last_update": 1778590337,
"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": 5461,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11491965");
$data = json_decode($json, true);
var_dump($data);