API dla Fox PvE Vanilla+ FR|PT|ES|EU|EVENTS
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 106,
"fps_avg": 82,
"entities_count": 85600,
"world_seed": 631951799,
"world_size": 3850,
"steam_id": "90286629793829915",
"domain": null,
"id": 11511141,
"ip": "208.115.196.34",
"port": 28215,
"query": 28216,
"color": 0,
"city": "Dallas",
"description": "\nWELCOME TO FOX PVE VANILLA+\r\n\r\n Vanilla+ Loot|Backpacks|Teleportation|Remove|TC Upgrades\r\n Raid Bases|Events|Skill Tree light|Shop|Vehicle Licenses\r\n Short Nights|Longer Days\r\n Loot and gear are enhanced: 5k resources and 2x equipment with improved drops\r\n Player turrets are disabled so everyone can enjoy events\r\n This new server runs alongside FOX PvE, offering more events and expanded gameplay\r\n\r\n VIP IS VALID ON BOTH SERVERS",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780658660,
"last_online": 1780669830,
"icon": null,
"name": "Fox PvE Vanilla+ FR|PT|ES|EU|EVENTS",
"connect": "208.115.196.34:28215",
"request": "208.115.196.34:28216",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779353838,
"last_update": 1780669830,
"banned": false,
"wipe": 1780603078,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2735,
"language": "en",
"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/11511141");
$data = json_decode($json, true);
var_dump($data);