Counter-Strike
[寡妇村CS社区]|02|飞刀扣杀服|www.CS-88.com के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/7846195json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7846195,
"ip": "110.42.10.50",
"port": 55516,
"query": 55516,
"color": 0,
"city": "Ningbo",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1768642802,
"score": 0,
"last_online": 1775945426,
"icon": null,
"name": "[寡妇村CS社区]|02|飞刀扣杀服|www.CS-88.com",
"connect": "110.42.10.50:55516",
"request": "110.42.10.50:55516",
"map": "daozi13",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 32,
"bots": 1,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1740146222,
"last_update": 1775945426,
"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": 4519,
"language": "zh",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/7846195");
$data = json_decode($json, true);
var_dump($data);