API dla StormRust EU | Vanilla | Solo/Duo/Trio | 14/6 | JUST FULLWIPED
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 78,
"fps_avg": 89,
"entities_count": 79425,
"world_seed": 14414724,
"world_size": 3900,
"steam_id": 90287007308577800,
"domain": null,
"id": 10780434,
"ip": "217.182.198.117",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Saarbrücken",
"description": "Welcome to StormRust!\n\nServer Info:\n*Type: Vanilla\n*Wipes: Sunday(Updated) 19:00(CET) Excluding global wipe.\n*Group Size: 3(Trio)\n*Map Size: 3900\n\n Enjoy :).\nLast wipe was on 14/6",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1781473229,
"icon": null,
"name": "StormRust EU | Vanilla | Solo/Duo/Trio | 14/6 | JUST FULLWIPED",
"connect": "217.182.198.117:28015",
"request": "217.182.198.117:28017",
"map": "Wiped 9 hours ago",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766872395,
"last_update": 1781473229,
"banned": false,
"wipe": 1781439459,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4234,
"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/10780434");
$data = json_decode($json, true);
var_dump($data);