API dla The Cryptic Den 2x Monthly |Solo/Duo/Trio/Quad| No BP Wipe
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 135,
"fps_avg": 131,
"entities_count": 71129,
"world_seed": 1733836507,
"world_size": 3500,
"steam_id": "90286619341914142",
"domain": null,
"id": 10310979,
"ip": "98.212.1.176",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Plainfield",
"description": "\nWelcome to The Cryptic Den 2x Monthly\r\n-=Information=-\r\n-Map Wipes Monthly on Forced Wipes\r\n-No BP Wipes\r\n-Maxgroup size: 4. \r\n-No allying/teaming allowed\r\n-2x Gather Rate\r\n-2x Scrap\r\n-Increased stack size\r\n-Recyclers at Dome, Oilrigs, Cargo, Ranches & Fishing Villages\r\n-Shorter Nights\r\n-Slower Decay\r\n-Starter Kits\r\n-Shop\r\n-Map Events\r\n-Raidable Bases\r\n-Trade\r\n-Removal Tool\r\n-Shared BPs\r\n-And so much more!\r\nCheck out /info for the commands or join the discord.\r\n\r\n-=Rules=-\r\nNo cheating/exploiting\r\nKeep it clean and have fun.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780640427,
"icon": null,
"name": "The Cryptic Den 2x Monthly |Solo/Duo/Trio/Quad| No BP Wipe",
"connect": "98.212.1.176:28015",
"request": "98.212.1.176:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1758288432,
"last_update": 1780640427,
"banned": false,
"wipe": 1780595420,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3353,
"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/10310979");
$data = json_decode($json, true);
var_dump($data);