RETURNED|Official|New|HUN/ENG|PvP|Mods|ZombieLand के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "85568392935786841",
"domain": null,
"id": 11737268,
"ip": "81.183.54.139",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Pécs",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780488180,
"last_online": 1780423909,
"icon": "https://i.ibb.co/JwhkTpJX/64x64-RETURNED.png",
"name": "RETURNED|Official|New|HUN/ENG|PvP|Mods|ZombieLand",
"connect": "81.183.54.139:27015",
"request": "81.183.54.139:27015",
"map": "California2",
"gamemode": "!Admin recruit!Tpa/Home,M",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "HU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780411885,
"last_update": 1780488180,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2467,
"language": "hu",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11737268");
$data = json_decode($json, true);
var_dump($data);