API для PuschiPVP#2 | Escalation | PVP | Vanilla
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 85568392924622990,
"domain": null,
"id": 11630575,
"ip": "185.184.95.40",
"port": 27069,
"query": 27069,
"color": 0,
"city": "Rejmyre",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780250045,
"last_online": 1780449685,
"icon": "https://jonhosting.com/ico/35.jpg",
"name": "PuschiPVP#2 | Escalation | PVP | Vanilla",
"connect": "185.184.95.40:27069",
"request": "185.184.95.40:27069",
"map": "Escalation",
"gamemode": "Active Staff | Easy | PVP",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916694,
"last_update": 1780449685,
"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": 1142,
"language": "sv",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11630575");
$data = json_decode($json, true);
var_dump($data);