[CZ] Tomis के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 162,
"fps_avg": 156,
"entities_count": 29917,
"world_seed": 937395993,
"world_size": 2500,
"steam_id": "90286575430104065",
"domain": null,
"id": 5387928,
"ip": "89.190.73.210",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Náchod",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780531461,
"last_online": 1780599821,
"icon": null,
"name": "[CZ] Tomis",
"connect": "89.190.73.210:28015",
"request": "89.190.73.210:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1722420293,
"last_update": 1780599821,
"banned": false,
"wipe": 1775331042,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5873,
"language": "cs",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/5387928");
$data = json_decode($json, true);
var_dump($data);