API для [NZ/AU] Whangaparusta - Wiped 05/06
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 49,
"fps_avg": 52,
"entities_count": 101206,
"world_seed": 451889,
"world_size": 4250,
"steam_id": "90286613500418065",
"domain": null,
"id": 567208,
"ip": "182.50.160.70",
"port": 49015,
"query": 49018,
"project_id": null,
"color": 0,
"city": "Hanoi",
"description": "![[NZ/AU] Whangaparusta - Wiped 05/06](https://i.imgur.com/BaFML7f.jpg)\nWelcome to Whangaparusta! WIPED @ 05/06!\r\nThis is the oldest New Zealand Hosted Rust Server est 2016.\r\nFortnightly Wipes & Monthly BP Wipes.\r\nDon't be a dick\r\nActive Admins.\r\nHIGHER SPAWN RATES!\r\nRUST COMPANION APP ENABLED!!\r\nFeel free to join our Discord server, see www.whanga.org for details.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780618455,
"last_online": 1780673430,
"icon": null,
"name": "[NZ/AU] Whangaparusta - Wiped 05/06",
"connect": "182.50.160.70:49015",
"request": "182.50.160.70:49018",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 4,
"maxplayers": 126,
"bots": 0,
"secured": true,
"private": false,
"country": "VN",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1668889623,
"last_update": 1780673430,
"banned": false,
"wipe": 1780618703,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1746,
"language": "vi",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/567208");
$data = json_decode($json, true);
var_dump($data);