Counter-Strike
API для 5on5 MIX [v1.2-11.01.2025] - Hosted by QGSHOSTING.COM
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10727567json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10727567,
"ip": "45.144.155.8",
"port": 27038,
"query": 27038,
"color": 0,
"city": "Plovdiv",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776094314,
"score": 0,
"last_online": 1776205828,
"icon": null,
"name": "5on5 MIX [v1.2-11.01.2025] - Hosted by QGSHOSTING.COM",
"connect": "45.144.155.8:27038",
"request": "45.144.155.8:27038",
"map": "de_aztec",
"gamemode": "Auto-Mix By p1Mp",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 21,
"bots": 0,
"secured": false,
"private": false,
"country": "BG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765148520,
"last_update": 1776205828,
"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": 6293,
"language": "bg",
"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.ru/servers/10727567");
$data = json_decode($json, true);
var_dump($data);