Counter-Strike: Source
ARM::CW:MIX:v34: [CLIENTMOD] के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/7846220json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7846220,
"ip": "178.219.59.203",
"port": 27204,
"query": 27204,
"color": 0,
"city": "Vanadzor",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775692925,
"score": 0,
"last_online": 1776156648,
"icon": null,
"name": "ARM::CW:MIX:v34: [CLIENTMOD]",
"connect": "178.219.59.203:27204",
"request": "178.219.59.203:27204",
"map": "de_port",
"gamemode": "Counter-Strike: Source",
"version": "1.0.0.34",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "AM",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1740146227,
"last_update": 1776156648,
"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": 1152,
"language": "hy",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/7846220");
$data = json_decode($json, true);
var_dump($data);