API dla Solar Daddys 3x | NO BPs | Weekly | MyMini | Quad | Events | Ki
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 69778,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90286604243869712",
"domain": null,
"id": 10661744,
"ip": "91.229.114.90",
"port": 28044,
"query": 28046,
"color": 0,
"city": "Chicago",
"description": "\nSOLAR DADDYS 3X | PVP | SOLO/DUO/TRIO/QUAD\r\n▶ 3x Gather + Components • Faster Smelting\r\n▶ Convoy • Armored Train • Guarded Crates\r\n▶ Raidable Bases • RadiationEvent • MonumentEvents\r\n▶ Backpacks • Instant Craft QoL\r\n▶ BGrade • Building Workbench • Better TC\r\n▶ Clans • No BPs • MyMini\r\n▶ Custom Loot • Anti-Cheat • Offline Protection",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780621232,
"icon": null,
"name": "Solar Daddys 3x | NO BPs | Weekly | MyMini | Quad | Events | Ki",
"connect": "91.229.114.90:28044",
"request": "91.229.114.90:28046",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1764544806,
"last_update": 1780621232,
"banned": false,
"wipe": 1780596536,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3698,
"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/10661744");
$data = json_decode($json, true);
var_dump($data);