Insurgency
[星团PVP] 黑色行动 | 指挥官 野战工事 Armory के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/1587013json
{
"response": {
"steam_id": "85568392930385321",
"domain": null,
"id": 1587013,
"ip": "116.9.121.108",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Liuzhou",
"description": "",
"game": 222880,
"owner": null,
"boosts": 1,
"last_offline": 1773784922,
"score": null,
"last_online": 1776522171,
"icon": null,
"name": "[星团PVP] 黑色行动 | 指挥官 野战工事 Armory",
"connect": "116.9.121.108:27015",
"request": "116.9.121.108:27015",
"map": "contact",
"gamemode": "Insurgency",
"version": "2.4.2.4",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1698010209,
"last_update": 1776522171,
"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": 38,
"language": "zh",
"parked": false,
"app": {
"id": 13,
"steam_id": 222880,
"name": "Insurgency",
"url": "insurgency"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/1587013");
$data = json_decode($json, true);
var_dump($data);