API для Official US 2
JSON для программ, сайтов и прочего
text
json
{
"response": {
"eosSessionId": "7e34981060f84450aa4ab9a87b075f69",
"steam_id": null,
"domain": null,
"id": 15026132,
"ip": "172.238.177.109",
"port": 30940,
"query": 30940,
"project_id": null,
"color": 0,
"city": "Чикаго",
"description": null,
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1788568895,
"last_online": 1788573589,
"icon": null,
"name": "Official US 2",
"connect": "172.238.177.109:30940",
"request": "172.238.177.109:30940",
"map": "Gateway",
"gamemode": null,
"version": "evrima 0.21.784",
"numplayers": 90,
"maxplayers": 115,
"bots": null,
"secured": null,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 69,
"add_date": 1788568895,
"last_update": 1788573589,
"ban_reason": null,
"banned": false,
"hidden": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 43,
"language": "en",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/15026132");
$data = json_decode($json, true);
var_dump($data);