API для Umbrella Server Argentina
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793931658,
"app": {
"id": 18576,
"name": "SCP: Secret Laboratory",
"steam_id": 700330,
"url": "scp-secret-laboratory"
},
"color": 0,
"connect": "179.41.20.117:7777",
"country": "AR",
"domain": null,
"game": 700330,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19705582,
"ip": "179.41.20.117",
"language": "es",
"last_update": 1794948914,
"map": "Facility",
"maxplayers": 32,
"name": "Umbrella Server Argentina",
"numplayers": 0,
"official": false,
"points": 30,
"port": 7777,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7777,
"request": "179.41.20.117:7777",
"secured": false,
"status": true,
"steam_id": 0,
"version": "14.2.9",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Годой-Крус",
"description": null,
"disabled_modules": [],
"gamemode": "SCP: Secret Laboratory",
"hidden": false,
"last_offline": 1794928550,
"last_online": 1794948914,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1058,
"wipe_period": null,
"info": "<b><span style=\"color:#6495ED\">Umbrella</span> Se<span style=\"color:#FFBF00\">rv</span>er <span style=\"color:#6495ED\">Argentina</span></b>",
"modded": true,
"pastebin": "vXwuEeyt",
"serverId": 108380,
"techList": [
{
"id": 162574327,
"name": "EXILED",
"version": "9.15.3"
}
],
"accountId": 38201,
"whitelist": false,
"friendlyFire": true,
"officialClass": 0
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19705582");
$data = json_decode($json, true);
var_dump($data);