API pentru ASIA-JP-SEA-KR-MAX16-X3
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 173,
"fps_avg": 165,
"entities_count": 102146,
"world_seed": 2073457512,
"world_size": 4250,
"steam_id": "90286605331047428",
"domain": null,
"id": 11511666,
"ip": "125.229.71.221",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Taipei",
"description": "===\r\n# Server Settings & Rules\r\n===\r\n\r\nScheduled Restart:\r\n- Daily: 03:00 (UTC+8) / 19:00 (UTC)\r\n\r\nPvP: Always active\r\nMax Team Size: 16\r\nWipe Cycle:\r\n- Official Force Wipe (First Thursday of each month / Friday UTC+8)\r\n - Map + Blueprint\r\n- Mid-Month Wipe (Every 15th UTC+8)\r\n - Map Only\r\n\r\nGather Rate: 3x\r\n\r\nRules of Engagement:\r\n1. Cheating, exploits, or unfair advantages strictly prohibited\r\n2. Maintain competitive integrity at all times\r\n3. Log out safely before restart",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780427064,
"last_online": 1780601437,
"icon": null,
"name": "ASIA-JP-SEA-KR-MAX16-X3",
"connect": "125.229.71.221:28015",
"request": "125.229.71.221:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "TW",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353860,
"last_update": 1780601437,
"banned": false,
"wipe": 1779288213,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4649,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11511666");
$data = json_decode($json, true);
var_dump($data);