Counter-Strike 2
API для CS2 AWP #25 [GE] — CYBERSHOKE.NET (ONLY AWP LEGO 2)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10111843json
{
"response": {
"steam_id": "85568392934954721",
"domain": null,
"id": 10111843,
"ip": "188.169.57.32",
"port": 27022,
"query": 27022,
"color": 0,
"city": "Tbilisi",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776234116,
"score": 0,
"last_online": 1776645129,
"icon": null,
"name": "CS2 AWP #25 [GE] — CYBERSHOKE.NET (ONLY AWP LEGO 2)",
"connect": "188.169.57.32:27022",
"request": "188.169.57.32:27022",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "GE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1755620422,
"last_update": 1776645129,
"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": 8254,
"language": "ka",
"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.ru/servers/10111843");
$data = json_decode($json, true);
var_dump($data);