Counter-Strike: Global Offensive
TGS GAMING CS:GO के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11397962json
{
"response": {
"steam_id": "90283984807690266",
"domain": null,
"id": 11397962,
"ip": "156.146.52.209",
"port": 27935,
"query": 27935,
"color": 0,
"city": "Istanbul",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1777657345,
"score": 0,
"last_online": 1777527642,
"icon": null,
"name": "TGS GAMING CS:GO",
"connect": "156.146.52.209:27935",
"request": "156.146.52.209:27935",
"map": "/125995702/aim_redline",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "TR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774598327,
"last_update": 1777657345,
"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": 2144,
"language": "tr",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11397962");
$data = json_decode($json, true);
var_dump($data);