*[CN]占山为王#1 官方授权全球通档 Q群566601868 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286538943121421",
"domain": null,
"id": 11722534,
"ip": "202.189.18.48",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Beijing",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780342458,
"last_online": 1780489224,
"icon": null,
"name": "*[CN]占山为王#1 官方授权全球通档 Q群566601868",
"connect": "202.189.18.48:2302",
"request": "202.189.18.48:2303",
"map": "Altis",
"gamemode": "King of the Hill by Sa-Matra (v17, Infantry)",
"version": "2.20.153601",
"numplayers": 41,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1780324526,
"last_update": 1780489224,
"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": 17,
"language": "zh",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11722534");
$data = json_decode($json, true);
var_dump($data);