Counter-Strike 2
XPLAY.GG • CS2 5x5 #36 • [RU] के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9113769json
{
"response": {
"steam_id": "85568392923980564",
"domain": null,
"id": 9113769,
"ip": "176.114.86.242",
"port": 27024,
"query": 27024,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1773545568,
"score": 0,
"last_online": 1775940624,
"icon": null,
"name": "XPLAY.GG • CS2 5x5 #36 • [RU]",
"connect": "176.114.86.242:27024",
"request": "176.114.86.242:27024",
"map": "de_train",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1747142224,
"last_update": 1775940624,
"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": 5415,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/9113769");
$data = json_decode($json, true);
var_dump($data);