API для [ Ultima Players ] Rabbit || Public
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90292008379364357",
"domain": null,
"id": 14298794,
"ip": "178.33.116.130",
"port": 28747,
"query": 28747,
"project_id": null,
"color": 0,
"city": "Мадрид",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1788412922,
"last_online": 1788320114,
"icon": null,
"name": "[ Ultima Players ] Rabbit || Public",
"connect": "178.33.116.130:28747",
"request": "178.33.116.130:28747",
"map": "pl_upward",
"gamemode": "Team Fortress",
"version": "10828683",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1788314098,
"last_update": 1788412922,
"ban_reason": null,
"banned": false,
"hidden": 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": 13640,
"language": "es",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14298794");
$data = json_decode($json, true);
var_dump($data);