[PVE] Man VS Wild के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 35,
"fps_avg": 36,
"entities_count": 123470,
"world_seed": 25770889,
"world_size": 4500,
"steam_id": "90286584485826578",
"domain": null,
"id": 756819,
"ip": "68.204.51.36",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Cocoa",
"description": "![[PVE] Man VS Wild](https://imgur.com/97G21Yh)\n[PVE]Man VS Wild!\r\n\r\nServer wipes every first Thursday of the month.\r\nSERVER FEATUER:\r\n-Raidable Bases\r\n-Kits\r\n-Server Rewards /s\r\n-Teleport\r\n-Warp\r\n-Backpack\r\n-3X Gather\r\n-Donor Perks\r\n-Loot Protection and more.\r\nHope to see you ingame and enjoy.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780513441,
"last_online": 1780573231,
"icon": null,
"name": "[PVE] Man VS Wild",
"connect": "68.204.51.36:28015",
"request": "68.204.51.36:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1677864103,
"last_update": 1780573231,
"banned": false,
"wipe": 1778181019,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2317,
"language": "en",
"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/756819");
$data = json_decode($json, true);
var_dump($data);