Unturned
API для Kessel Network (VANILLA | Russia)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11212561json
{
"response": {
"steam_id": "85568392935877064",
"domain": null,
"id": 11212561,
"ip": "57.129.130.185",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Bexley",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1774899129,
"score": 0,
"last_online": 1777546315,
"icon": "https://i.postimg.cc/mrThFZDd/kessel-network-icon.png",
"name": "Kessel Network (VANILLA | Russia)",
"connect": "57.129.130.185:27015",
"request": "57.129.130.185:27015",
"map": "Russia",
"gamemode": null,
"version": "3.26.1.1",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772700894,
"last_update": 1777546315,
"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": 487,
"language": "en",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11212561");
$data = json_decode($json, true);
var_dump($data);