Motor Town: Behind The Wheel
API для SWECARGO
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11180600json
{
"response": {
"steam_id": "90284390310522882",
"domain": null,
"id": 11180600,
"ip": "151.177.209.157",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Ronneby",
"description": null,
"game": 1369670,
"owner": null,
"boosts": 1,
"last_offline": 1776225715,
"score": 0,
"last_online": 1776226268,
"icon": null,
"name": "SWECARGO",
"connect": "151.177.209.157:7777",
"request": "151.177.209.157:27015",
"map": null,
"gamemode": "Unreal Test!",
"version": "0.7.18+1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772229621,
"last_update": 1776226268,
"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": 110,
"language": "sv",
"parked": false,
"app": {
"id": 1564980,
"steam_id": 1369670,
"name": "Motor Town: Behind The Wheel",
"url": "motor-town-behind-the-wheel"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11180600");
$data = json_decode($json, true);
var_dump($data);