API dla Wickham Quebec (PVE x3)(BackPack)(Kit)(Zombies)(Plugins)
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 20,
"fps_avg": 19,
"entities_count": 64963,
"world_seed": 3000,
"world_size": 3700,
"steam_id": "90286604175191062",
"domain": null,
"id": 6966286,
"ip": "23.27.211.192",
"port": 27130,
"query": 27136,
"color": 0,
"city": "Dallas",
"description": "\nBienvenue sur le serveur de Wickham Québec PVE X3 \r\nServeur PVE kit, backpack, Plugins, shop,skin, VIP, Bank, \r\nBase raidable, zombies,etc et PVP à la fin du mois \r\nvisitez notre site web pour le forfait VIP \r\nVient nous rejoindre sur notre discord \r\nWelcome to the Wickham Quebec PVE server X3 \r\nPVE kit, backpack, Plugins, shop, skin, VIP, ,Bank \r\n Raidable base, zombies, etc and PVP at the end of the month \r\nvisit our website for VIP packages Come \r\njoin us on our discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780596795,
"icon": null,
"name": "Wickham Quebec (PVE x3)(BackPack)(Kit)(Zombies)(Plugins)",
"connect": "23.27.211.192:27130",
"request": "23.27.211.192:27136",
"map": "Custom Map",
"gamemode": "Softcore",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1734715466,
"last_update": 1780596795,
"banned": false,
"wipe": 1780596577,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4619,
"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/6966286");
$data = json_decode($json, true);
var_dump($data);