Counter-Strike
API для PREMIUM kz_longjumps2 100aa
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9600948json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9600948,
"ip": "5.39.63.207",
"port": 6980,
"query": 6980,
"color": 0,
"city": "Paris",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776169317,
"score": 0,
"last_online": 1776805841,
"icon": null,
"name": "PREMIUM kz_longjumps2 100aa",
"connect": "5.39.63.207:6980",
"request": "5.39.63.207:6980",
"map": "kz_longjumps2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1750694168,
"last_update": 1776805841,
"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": 3232,
"language": "fr",
"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/9600948");
$data = json_decode($json, true);
var_dump($data);