Counter-Strike
GG.BLACKGAMES.RO # TS.BLACKGAMES.RO के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10620972json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10620972,
"ip": "212.81.58.62",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Bucharest",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775241688,
"score": 0,
"last_online": 1776199848,
"icon": null,
"name": "GG.BLACKGAMES.RO # TS.BLACKGAMES.RO",
"connect": "212.81.58.62:27015",
"request": "212.81.58.62:27015",
"map": "de_train",
"gamemode": "GunGame",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763330012,
"last_update": 1776199848,
"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": 6285,
"language": "ro",
"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/10620972");
$data = json_decode($json, true);
var_dump($data);