API dla DidiplayRust PVE x2 Wiped21/05 Raids/events/Skills/dungeons
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 148,
"fps_avg": 148,
"entities_count": 83615,
"world_seed": 1,
"world_size": 3750,
"steam_id": "90286581333612550",
"domain": null,
"id": 10948321,
"ip": "202.36.95.64",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Frankfurt am Main",
"description": "Friendly communiy! This server is supposed to challenge you! It wont be easy! But the rewards are great! Skilltree raidbases evente dungeons patrolhelis special gear and many more qol plugins!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780545869,
"last_online": 1780591236,
"icon": null,
"name": "DidiplayRust PVE x2 Wiped21/05 Raids/events/Skills/dungeons",
"connect": "202.36.95.64:28015",
"request": "202.36.95.64:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768511255,
"last_update": 1780591236,
"banned": false,
"wipe": 1779389031,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4000,
"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/10948321");
$data = json_decode($json, true);
var_dump($data);