Counter-Strike 2
[CS2]**Ставропольский**|ONLY AWP| के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/3885741json
{
"response": {
"steam_id": "85568392930773579",
"domain": null,
"id": 3885741,
"ip": "46.243.10.2",
"port": 27123,
"query": 27123,
"color": 0,
"city": "Georgiyevsk",
"description": "[Наш сайт](https://css.26rus-game.ru/)",
"game": 730,
"owner": 37692,
"boosts": 1,
"last_offline": 1775475684,
"score": 0,
"last_online": 1776148810,
"icon": null,
"name": "[CS2]**Ставропольский**|ONLY AWP|",
"connect": "46.243.10.2:27123",
"request": "46.243.10.2:27123",
"map": "awp_india_cs2",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1713379299,
"last_update": 1776148810,
"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": 143,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "DOK26RUS",
"avatar": "no.jpg",
"last_online": 1775554700
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/3885741");
$data = json_decode($json, true);
var_dump($data);