[V34] Земля мертвых [ZOMBIEMOD] के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11489041,
"ip": "46.174.48.98",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": 50750,
"boosts": 1,
"last_offline": 1778776978,
"last_online": 1780573226,
"icon": null,
"name": "[V34] Земля мертвых [ZOMBIEMOD]",
"connect": "46.174.48.98:27015",
"request": "46.174.48.98:27015",
"map": "zm_roy_the_ship",
"gamemode": "Zombie Infection v34",
"version": "1.0.0.34",
"numplayers": 2,
"maxplayers": 45,
"bots": 6,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1776022776,
"last_update": 1780573226,
"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": 261,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "romash539",
"avatar": "e4fe5053-3a4b-457c-83be-556f60b0cfbe.jpg"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11489041");
$data = json_decode($json, true);
var_dump($data);