API dla [EU] 67Rust MAX5 | WEEKLY | SATURDAY WIPE |
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 240,
"fps_avg": 239,
"entities_count": 31137,
"world_seed": 124720684,
"world_size": 2500,
"steam_id": "90286604854738963",
"domain": null,
"id": 11606526,
"ip": "157.85.87.209",
"port": 24282,
"query": 24283,
"color": 0,
"city": "Amsterdam",
"description": "SixtySeven X5 — weekly modded Rust server with balanced x5 rates, improved loot, fast smelting and increased stack sizes. Clean loot tables without useless junk, active administration and stable gameplay focused on PvP and progression for solo, duo and trio players.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780328658,
"last_online": 1780620629,
"icon": null,
"name": "[EU] 67Rust MAX5 | WEEKLY | SATURDAY WIPE |",
"connect": "157.85.87.209:24282",
"request": "157.85.87.209:24283",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915473,
"last_update": 1780620629,
"banned": false,
"wipe": 1780598341,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5095,
"language": "nl",
"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/11606526");
$data = json_decode($json, true);
var_dump($data);