SiennaVille के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 103516,
"world_seed": 26954636,
"world_size": 4200,
"steam_id": "90286604279211032",
"domain": null,
"id": 5689865,
"ip": "156.236.84.3",
"port": 28035,
"query": 28036,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to Phalanx - a lightly modded server with the aim of improving the vanilla experience. Join the Discord for server rules. Have fun! https://discord.gg/N3Cn9W7Fft",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780515854,
"last_online": 1780606836,
"icon": null,
"name": "SiennaVille",
"connect": "156.236.84.3:28035",
"request": "156.236.84.3:28036",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1723845303,
"last_update": 1780606836,
"banned": false,
"wipe": 1780596631,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2805,
"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/5689865");
$data = json_decode($json, true);
var_dump($data);