API для [UK] | Chaos Theory #16 (Unlimited SCP) | Unique Map! | discord.gg/chaosscp
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787307198,
"app": {
"id": 18576,
"name": "SCP: Secret Laboratory",
"steam_id": 700330,
"url": "scp-secret-laboratory"
},
"color": 0,
"connect": "188.64.33.6:7003",
"country": "GB",
"domain": null,
"game": 700330,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13963338,
"ip": "188.64.33.6",
"language": "en",
"last_update": 1794948914,
"map": "Facility",
"maxplayers": 30,
"name": "[UK] | Chaos Theory #16 (Unlimited SCP) | Unique Map! | discord.gg/chaosscp",
"numplayers": 0,
"official": false,
"points": 30,
"port": 7003,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7003,
"request": "188.64.33.6:7003",
"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": 1791312438,
"last_online": 1794948914,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 439,
"wipe_period": null,
"info": "<span style=\"color:#00ff00\"><i>[UK]</i></span> | <b><span style=\"color:#008000\">Chaos Theory #16</span> <span style=\"color:#ffff00\">(Unlimited SCP)</span></b> | <b><span style=\"color:#008000\">Unique Map!</span></b> | <span style=\"color:#add8e6\">discord.gg/chaosscp</span>",
"modded": true,
"pastebin": "43LMcs3V",
"serverId": 88684,
"techList": [],
"accountId": 29502,
"whitelist": false,
"friendlyFire": false,
"officialClass": 0
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13963338");
$data = json_decode($json, true);
var_dump($data);