API для 90297090832745498
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794294972,
"app": {
"id": 1564980,
"name": "Motor Town: Behind The Wheel",
"steam_id": 1369670,
"url": "motor-town-behind-the-wheel"
},
"color": 0,
"connect": "98.97.153.249:7777",
"country": "CA",
"domain": null,
"game": 1369670,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19900287,
"ip": "98.97.153.249",
"language": "en",
"last_update": 1794774372,
"map": null,
"maxplayers": 20,
"name": "90297090832745498",
"numplayers": 0,
"official": null,
"points": 0,
"port": 7777,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "98.97.153.249:27015",
"secured": true,
"status": false,
"steam_id": "90297090832745498",
"version": "1.0.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Калгари",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794774372,
"last_online": 1794308785,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 410,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "unrealdk",
"gametype": "BUILDID:0,OWNINGID:90297090832745498,OWNINGNAME:90297090832745498,SESSIONFLAGS:41",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19900287");
$data = json_decode($json, true);
var_dump($data);