Rust Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 30876,
"world_seed": 345345,
"world_size": 2500,
"steam_id": "90286500628083714",
"domain": null,
"id": 6529951,
"ip": "104.143.3.223",
"port": 28039,
"query": 28036,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to RustRevolution!\r\n\r\nExperience fast-paced gameplay with boosted progression and tons of features.\r\n\r\n• Heavily boosted loot | No Blueprints | No Workbenches\r\n• Unlock access to SkinBox, /MyMini, AutoDoors, /Remove, /BGrade & more\r\n• Kits | Clan Auth Sharing | Shop | Teleport | Fast Smelting | Instant Craft\r\n• Optimized gameplay for better performance\r\n• Group Limit: 8\r\n• Automatic Base Upgrader, Base Repair, and Box Sorter available to all players\r\n\r\nJoin our Discord for updates and rewards!\r\n➢ https://discord.gg/xgKv6u3EHX",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777913013,
"last_online": 1780557631,
"icon": null,
"name": "Rust Server",
"connect": "104.143.3.223:28039",
"request": "104.143.3.223:28036",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1730457217,
"last_update": 1780557631,
"banned": false,
"wipe": 1778563779,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2566,
"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/6529951");
$data = json_decode($json, true);
var_dump($data);