API для [GER] Pommesbude | Server #1 | Anfängerfreundlich | Spezial-Rollen | FF: ON | Teamler gesucht | dsc.gg/pommesbude
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787673175,
"app": {
"id": 18576,
"name": "SCP: Secret Laboratory",
"steam_id": 700330,
"url": "scp-secret-laboratory"
},
"color": 0,
"connect": "5.253.246.180:7777",
"country": "NL",
"domain": null,
"game": 700330,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14071294,
"ip": "5.253.246.180",
"language": "nl",
"last_update": 1794949539,
"map": "Facility",
"maxplayers": 30,
"name": "[GER] Pommesbude | Server #1 | Anfängerfreundlich | Spezial-Rollen | FF: ON | Teamler gesucht | dsc.gg/pommesbude",
"numplayers": 0,
"official": false,
"points": 30,
"port": 7777,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7777,
"request": "5.253.246.180:7777",
"secured": false,
"status": true,
"steam_id": 0,
"version": "14.2.7",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Eygelshoven",
"description": null,
"disabled_modules": [],
"gamemode": "SCP: Secret Laboratory",
"hidden": false,
"last_offline": 1792114793,
"last_online": 1794949539,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 651,
"wipe_period": null,
"info": "<b><span style=\"color:#FF3333\">[GER] </span> <span style=\"color:#fff454\"> Pommesbude</span> | <span style=\"color:#fc9e56\">Server #1</span></b><br /><span style=\"color:#5cfa62\">Anfängerfreundlich</span> | <span style=\"color:#33FFFF\">Spezial-Rollen</span> | <span style=\"color:#d1457f\">FF: ON</span> | <span style=\"color:#b85cfa\">Teamler gesucht</span> | <span style=\"color:#2d7dfc\">dsc.gg/pommesbude</span>",
"modded": true,
"pastebin": "hWMupYKA",
"serverId": 106223,
"techList": [
{
"id": 162580024,
"name": "EXILED",
"version": "9.15.1"
}
],
"accountId": 37524,
"whitelist": false,
"friendlyFire": true,
"officialClass": 0
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14071294");
$data = json_decode($json, true);
var_dump($data);