Mines of Moria - PVE - No raiding/killing/stealing के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 243,
"fps_avg": 242,
"entities_count": 101892,
"world_seed": 1055823830,
"world_size": 4300,
"steam_id": "90286603886966796",
"domain": null,
"id": 566907,
"ip": "51.81.218.89",
"port": 28215,
"query": 28218,
"color": 0,
"city": "Hillsboro",
"description": "\n Welcome to Mine of Moria, a friendly PVE server with active admins. A great place to learn the game of Rust!\r\n\r\nRules:\r\n -No killing, stealing, or looting\r\n -No raiding/Griefing\r\n -Don't enter other bases without permission\r\n\r\nDecay at 50%\r\n\r\nDiscord Channel invite link - https://discord.gg/thkVWgX7Fv",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780605026,
"icon": null,
"name": "Mines of Moria - PVE - No raiding/killing/stealing",
"connect": "51.81.218.89:28215",
"request": "51.81.218.89:28218",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 28,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1668889487,
"last_update": 1780605026,
"banned": false,
"wipe": 1780595901,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 842,
"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/566907");
$data = json_decode($json, true);
var_dump($data);