OZ के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 80,
"fps_avg": 80,
"entities_count": 188841,
"world_seed": 169656686,
"world_size": 6000,
"steam_id": 90286623935455260,
"domain": null,
"id": 1364661,
"ip": "45.121.208.21",
"port": 28055,
"query": 28056,
"project_id": null,
"color": 0,
"city": "Perth",
"description": "All BPs enabled automatically. In fairness to other players, playtime is limited to 4 hrs/day on this server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780644259,
"last_online": 1780722628,
"icon": null,
"name": "OZ",
"connect": "45.121.208.21:28055",
"request": "45.121.208.21:28056",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1693512489,
"last_update": 1780722628,
"banned": false,
"wipe": 1780644446,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2827,
"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/1364661");
$data = json_decode($json, true);
var_dump($data);