Counter-Strike: Condition Zero
UGC.GS | Dust2 #1 24/7 | UGC-Gaming.net के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/5908json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5908,
"ip": "94.23.156.177",
"port": 27018,
"query": 27018,
"color": 0,
"city": "London",
"description": "",
"game": 80,
"owner": null,
"boosts": 1,
"last_offline": 1771257703,
"score": null,
"last_online": 1776606611,
"icon": null,
"name": "UGC.GS | Dust2 #1 24/7 | UGC-Gaming.net",
"connect": "94.23.156.177:27018",
"request": "94.23.156.177:27018",
"map": "de_dust2_cz",
"gamemode": "<---------------",
"version": "1.1.2.7/Stdio",
"numplayers": 28,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 125,
"add_date": 1501541224,
"last_update": 1776606611,
"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": 1,
"language": "en",
"parked": false,
"app": {
"id": 10,
"steam_id": 80,
"name": "Counter-Strike: Condition Zero",
"url": "counter-strike-condition-zero"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/5908");
$data = json_decode($json, true);
var_dump($data);