API dla [EU] SoundRust JFX | Solo/Duo/Trio | Vanilla | Monthly
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 94,
"fps_avg": 113,
"entities_count": 95839,
"world_seed": 1525612519,
"world_size": 4050,
"steam_id": "90285723137790992",
"domain": null,
"id": 11500947,
"ip": "78.46.56.22",
"port": 20720,
"query": 20721,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780629811,
"last_online": 1779833516,
"icon": null,
"name": "[EU] SoundRust JFX | Solo/Duo/Trio | Vanilla | Monthly",
"connect": "78.46.56.22:20720",
"request": "78.46.56.22:20721",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207165,
"last_update": 1780629811,
"banned": false,
"wipe": 1778707921,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10582,
"language": "de",
"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/11500947");
$data = json_decode($json, true);
var_dump($data);