API dla NoobZone | Vanilla | Solo Only | Monthly | No BP Wipes
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 68293,
"world_seed": 1936714703,
"world_size": 3500,
"steam_id": "90286545019868175",
"domain": null,
"id": 11501744,
"ip": "66.51.97.56",
"port": 28040,
"query": 28041,
"color": 0,
"city": "City of London",
"description": "\nWelcome to NoobZone!\r\nLooking for a place to learn/chill out, hop on! \r\n\r\n(FIRST WIPE WILL BE June 4th 18:00 GMT then MONTHLY)\r\n\r\nInfo:\r\n-Monthly Map Wipes (Force Wipe).\r\n-Blueprints DO NOT wipe.\r\n-SOLO ONLY\r\n\r\nRules:\r\n-No Griefing.\r\n-No Teaming.\r\n-Dont Be An Ass.\r\n\r\nHave Fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780579418,
"last_online": 1780486226,
"icon": null,
"name": "NoobZone | Vanilla | Solo Only | Monthly | No BP Wipes",
"connect": "66.51.97.56:28040",
"request": "66.51.97.56:28041",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207179,
"last_update": 1780579418,
"banned": false,
"wipe": 1779358416,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11275,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11501744");
$data = json_decode($json, true);
var_dump($data);