API dla Crow Summit PVE
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 97,
"fps_avg": 97,
"entities_count": 121061,
"world_seed": 24065351,
"world_size": 4550,
"steam_id": "90286502468359187",
"domain": null,
"id": 11606868,
"ip": "198.73.57.176",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Clifton",
"description": "Crow Summit PVE server. We are still adjusting rates and in the process of adding Raidable NPC bases, but have fun and stay friendly.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780629200,
"last_online": 1780471227,
"icon": null,
"name": "Crow Summit PVE",
"connect": "198.73.57.176:28025",
"request": "198.73.57.176:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915486,
"last_update": 1780629200,
"banned": false,
"wipe": 1778179713,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11829,
"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/11606868");
$data = json_decode($json, true);
var_dump($data);