Barotrauma
[RU] Люди чести (иногда) के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11015306json
{
"response": {
"steam_id": "90284136233825311",
"domain": null,
"id": 11015306,
"ip": "94.19.28.227",
"port": 27015,
"query": 27017,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 602960,
"owner": null,
"boosts": 1,
"last_offline": 1774673544,
"score": 0,
"last_online": 1776429629,
"icon": null,
"name": "[RU] Люди чести (иногда)",
"connect": "94.19.28.227:27015",
"request": "94.19.28.227:27017",
"map": "Дюгонь",
"gamemode": "sandbox",
"version": "1.12.6.2",
"numplayers": 2,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1769943104,
"last_update": 1776429629,
"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": 25,
"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/11015306");
$data = json_decode($json, true);
var_dump($data);