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