Urban Terror
API для d3frk JumpServer |MOD
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10733542json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10733542,
"ip": "94.130.173.8",
"port": 27965,
"query": 27965,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 9000055,
"owner": null,
"boosts": 1,
"last_offline": 1772053299,
"score": 0,
"last_online": 1777554098,
"icon": null,
"name": "d3frk JumpServer |MOD",
"connect": "94.130.173.8:27965",
"request": "94.130.173.8:27965",
"map": "ut4_limbo_b3b",
"gamemode": null,
"version": "4.3.4",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765207977,
"last_update": 1777554098,
"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": 95,
"language": "de",
"parked": false,
"app": {
"id": 1665408,
"steam_id": 9000055,
"name": "Urban Terror",
"url": "urban-terror"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10733542");
$data = json_decode($json, true);
var_dump($data);