[RU] ChmapiTrauma - Особенности подводной � के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90285864283726879",
"domain": null,
"id": 11587593,
"ip": "31.25.243.147",
"port": 58987,
"query": 58988,
"project_id": null,
"color": 0,
"city": "Yekaterinburg",
"description": null,
"game": 602960,
"owner": null,
"boosts": 1,
"last_offline": 1779357459,
"last_online": 1780777847,
"icon": null,
"name": "[RU] ChmapiTrauma - Особенности подводной �",
"connect": "31.25.243.147:58987",
"request": "31.25.243.147:58988",
"map": "LMC-11 «Бриарис»",
"gamemode": "multiplayercampaign",
"version": "1.12.7.0",
"numplayers": 2,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1779357459,
"last_update": 1780777847,
"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": 24,
"language": "ru",
"parked": false,
"app": {
"id": 50335,
"steam_id": 602960,
"name": "Barotrauma",
"url": "barotrauma"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11587593");
$data = json_decode($json, true);
var_dump($data);