API dla [US] Galaxy 2x PVE Monthly | Raidable Bases | Events
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 57,
"fps_avg": 57,
"entities_count": 68475,
"world_seed": 2146177183,
"world_size": 3500,
"steam_id": "90286605400922128",
"domain": null,
"id": 9269767,
"ip": "91.229.114.90",
"port": 28048,
"query": 28050,
"color": 0,
"city": "Chicago",
"description": "![[US] Galaxy 2x PVE Monthly | Raidable Bases | Events](https://rust-server-images.physgun.com/f7c63235436bd336411b598d2f476c05f35c926d9af930850e41c183493e534f.png)\n~Monthly~\r\n ~Raidable Bases~\r\n ~Convoy~\r\n ~Dungeons~\r\n ~PVP in Monuments~\r\n ~Custom Items~\r\n ~Chest Stack~\r\n ~XP Events~\r\n ~Raidable Player Bases~",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780599269,
"last_online": 1780606828,
"icon": null,
"name": "[US] Galaxy 2x PVE Monthly | Raidable Bases | Events",
"connect": "91.229.114.90:28048",
"request": "91.229.114.90:28050",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1747600223,
"last_update": 1780606828,
"banned": false,
"wipe": 1780599979,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2074,
"language": "en",
"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/9269767");
$data = json_decode($json, true);
var_dump($data);