NZ Chill के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 220,
"fps_avg": 216,
"entities_count": 115879,
"world_seed": 1457247482,
"world_size": 4500,
"steam_id": "90286404642617365",
"domain": null,
"id": 1204489,
"ip": "101.100.141.112",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Окленд",
"description": "\n-Limited PVP \r\n-Noob Friendly \r\n-low upkeep and decay \r\n-low Full monthly wipes including BP's \r\n-Offline Raaid Protection (lasts for 24h) \r\nYOU MUST CONFIRM YOU HAVE READ THE RULES VIA THE WEB PAGE \r\n ↓↓↓↓",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779680010,
"last_online": 1780581034,
"icon": null,
"name": "NZ Chill",
"connect": "101.100.141.112:28015",
"request": "101.100.141.112:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "NZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1691954531,
"last_update": 1780581034,
"banned": false,
"wipe": 1778178306,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2570,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/1204489");
$data = json_decode($json, true);
var_dump($data);