Counter-Strike
[ONLY DD2+BF4] FragArena.pl [ODZNAKI|MEDALE|PREFIXY|ZADANIA|DIAMENTY|LECZENIE|DARMOWY VIP] @ pukawka.pl के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9688640json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9688640,
"ip": "193.33.177.177",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Gdansk",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1777633351,
"score": 0,
"last_online": 1778563811,
"icon": null,
"name": "[ONLY DD2+BF4] FragArena.pl [ODZNAKI|MEDALE|PREFIXY|ZADANIA|DIAMENTY|LECZENIE|DARMOWY VIP] @ pukawka.pl",
"connect": "193.33.177.177:27015",
"request": "193.33.177.177:27015",
"map": "de_duzt2",
"gamemode": "->DD2+BF4<-",
"version": "1.1.2.7/Stdio",
"numplayers": 15,
"maxplayers": 21,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 84,
"add_date": 1751737924,
"last_update": 1778563811,
"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": 1627,
"language": "pl",
"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/9688640");
$data = json_decode($json, true);
var_dump($data);