API dla [RU] RustMe X2 MAX 3 #1 [LOOT+ | KITS | EVENT]
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 357,
"fps_avg": 362,
"entities_count": 92899,
"world_seed": 121315421,
"world_size": 3800,
"steam_id": "90286413037927442",
"domain": null,
"id": 11501885,
"ip": "185.189.255.147",
"port": 35100,
"query": 35110,
"color": 0,
"city": "Moscow",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780591412,
"last_online": 1780174871,
"icon": null,
"name": "[RU] RustMe X2 MAX 3 #1 [LOOT+ | KITS | EVENT]",
"connect": "185.189.255.147:35100",
"request": "185.189.255.147:35110",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207183,
"last_update": 1780591412,
"banned": false,
"wipe": 1778272496,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11314,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11501885");
$data = json_decode($json, true);
var_dump($data);