Counter-Strike: Source
c400.ru CS:Source GunGame Server v9540945 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11397346json
{
"response": {
"steam_id": 90071992547409920,
"domain": null,
"id": 11397346,
"ip": "89.179.240.119",
"port": 27077,
"query": 27077,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1778595781,
"score": 0,
"last_online": 1778679625,
"icon": null,
"name": "c400.ru CS:Source GunGame Server v9540945",
"connect": "89.179.240.119:27077",
"request": "89.179.240.119:27077",
"map": "gg_fy_funtimes",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 10,
"maxplayers": 26,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 55,
"add_date": 1774598271,
"last_update": 1778679625,
"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": 368,
"language": "ru",
"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/11397346");
$data = json_decode($json, true);
var_dump($data);