Rust
The Hempire Medium 2x | Biweekly | Low Upkeep | QOL Mods के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11018072json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 104720,
"world_seed": 1337,
"world_size": 4300,
"steam_id": "90285466938016791",
"domain": null,
"id": 11018072,
"ip": "109.134.74.85",
"port": 25015,
"query": 25017,
"color": 0,
"city": "Antwerp",
"description": "\nLow Upkeep (10%) | 2x Vanilla | QOL Mods | Monthly BP Wipes | No Team Limit | Daily Restart @ 4:20 AM\r\n\r\nBring the whole clan. 2x rates, more recyclers, better loot, insta-craft, easy sort — less grind, more fights. No team cap, go wild.\r\n\r\nLive stats, news & active admins.\r\n\r\nMay the horse be with you.\r\nClick (External Website) for more info!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778176386,
"score": 0,
"last_online": 1778182820,
"icon": null,
"name": "The Hempire Medium 2x | Biweekly | Low Upkeep | QOL Mods",
"connect": "109.134.74.85:25015",
"request": "109.134.74.85:25017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2624",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "BE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769944417,
"last_update": 1778182820,
"banned": false,
"wipe": 1778176657,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3846,
"language": "nl",
"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/11018072");
$data = json_decode($json, true);
var_dump($data);