API dla [EU] CrazyRust 2x | Monthly Wipe | Vanilla+
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 100,
"fps_avg": 211,
"entities_count": 73019,
"world_seed": 1234,
"world_size": 4000,
"steam_id": "90286373187249157",
"domain": null,
"id": 11510726,
"ip": "217.113.49.124",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Budapest",
"description": "![[EU] CrazyRust 2x | Monthly Wipe | Vanilla+](http://yourwebsite.com/serverimage.jpg)\nWelcome to CrazyRust 2x - The perfect balance between the classic Rust experience and respect for your time. ÔÇó 2x Resource Gathering, Components & Scrap ÔÇó Strictly Vanilla Gameplay (No TP / No Kits) ÔÇó Map & Blueprint Wipe: First Thursday of every month ÔÇó High-performance hardware & Active non-playing Admins Join our community, build your empire, and survive the month!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780588412,
"last_online": 1780079568,
"icon": null,
"name": "[EU] CrazyRust 2x | Monthly Wipe | Vanilla+",
"connect": "217.113.49.124:28015",
"request": "217.113.49.124:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "HU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353832,
"last_update": 1780588412,
"banned": false,
"wipe": 1779257505,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11585,
"language": "hu",
"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/11510726");
$data = json_decode($json, true);
var_dump($data);