Musty Rust - Casual Experience के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 52,
"fps_avg": 51,
"entities_count": 72473,
"world_seed": 900797926,
"world_size": 3500,
"steam_id": "90287077963135001",
"domain": null,
"id": 11800871,
"ip": "163.245.195.74",
"port": 26070,
"query": 26071,
"project_id": null,
"color": 0,
"city": "Secaucus",
"description": "\nMusty Rust - Casual Experience \r\nRules: \r\n1. We're casual. We play by the rule that you value your life. \r\n2. No Offline Raiding. We have a mod in place and will enforce it. \r\n3. No Hostile Architecture. No honeycombs, or inverted roofs and no using items in ways they weren't intended to gain unfair advantages. \r\n4. No overly-aggressive PvP. It's fine to protect your territory/base, and raids need to escalate organically. \r\n \r\nWe have the server on a whitelist system. We have a Discord in the works to request access for those we're not directly affiliated with and will be opening up the doors after an extensive testing phase.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781568238,
"last_online": 1781583621,
"icon": null,
"name": "Musty Rust - Casual Experience",
"connect": "163.245.195.74:26070",
"request": "163.245.195.74:26071",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 10,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1781463033,
"last_update": 1781583621,
"banned": false,
"wipe": 1781568216,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1148,
"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/11800871");
$data = json_decode($json, true);
var_dump($data);