Killing Floor 2
[RU] Amursk 24/7 Classic #4 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/6785434json
{
"response": {
"steam_id": "90284884564160535",
"domain": null,
"id": 6785434,
"ip": "188.130.255.102",
"port": 7786,
"query": 27103,
"color": 0,
"city": "Komsomolsk-on-Amur",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777003999,
"score": 0,
"last_online": 1777242671,
"icon": null,
"name": "[RU] Amursk 24/7 Classic #4",
"connect": "188.130.255.102:7786",
"request": "188.130.255.102:27103",
"map": "KF-ASHWOODASYLUM",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 1,
"maxplayers": 6,
"bots": 1,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1733155789,
"last_update": 1777242671,
"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": 363,
"language": "ru",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/6785434");
$data = json_decode($json, true);
var_dump($data);