Counter-Strike 2
XPLAY.GG • CS2 5x5 #54 • [RU] के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9111883json
{
"response": {
"steam_id": "85568392924041593",
"domain": null,
"id": 9111883,
"ip": "176.114.86.242",
"port": 27046,
"query": 27046,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1773545568,
"score": 0,
"last_online": 1775941222,
"icon": null,
"name": "XPLAY.GG • CS2 5x5 #54 • [RU]",
"connect": "176.114.86.242:27046",
"request": "176.114.86.242:27046",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 10,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1747141885,
"last_update": 1775941222,
"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": 1701,
"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/9111883");
$data = json_decode($json, true);
var_dump($data);