API dla [RU-EN] 1W | NO TEAM LIMIT | X5 LOOT | TPA/HOME
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "85568392935674213",
"domain": null,
"id": 11602679,
"ip": "92.38.222.133",
"port": 27021,
"query": 27021,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780801456,
"last_online": 1780835565,
"icon": "https://i.ibb.co/x8JrhsJD/aNDB0.png",
"name": "[RU-EN] 1W | NO TEAM LIMIT | X5 LOOT | TPA/HOME",
"connect": "92.38.222.133:27021",
"request": "92.38.222.133:27021",
"map": "Russia",
"gamemode": "Russia • Loot x5 • Events • Unlimited C",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779456885,
"last_update": 1780835565,
"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": 991,
"language": "ru",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11602679");
$data = json_decode($json, true);
var_dump($data);