API для nitrado.net Zomboid Smiiithers
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286280861470730",
"domain": null,
"id": 11620083,
"ip": "85.190.158.190",
"port": 10220,
"query": 10220,
"project_id": null,
"color": 0,
"city": "Clifton",
"description": "hosted by nitrado.net",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780686215,
"last_online": 1779960026,
"icon": null,
"name": "nitrado.net Zomboid Smiiithers",
"connect": "85.190.158.190:10220",
"request": "85.190.158.190:10220",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916022,
"last_update": 1780686215,
"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": 9071,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11620083");
$data = json_decode($json, true);
var_dump($data);