Counter-Strike
API для • • • G E O R G † A • • •
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7852220json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7852220,
"ip": "80.241.246.26",
"port": 27777,
"query": 777,
"color": 0,
"city": "Tbilisi",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1772242294,
"score": 0,
"last_online": 1776204618,
"icon": null,
"name": "• • • G E O R G † A • • •",
"connect": "80.241.246.26:27777",
"request": "80.241.246.26:777",
"map": "fy_snow",
"gamemode": "[ALWAYS FIRST]",
"version": "1.1.2.7/Stdio",
"numplayers": 7,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "GE",
"status": true,
"votes": 0,
"points": 45,
"add_date": 1740163477,
"last_update": 1776204618,
"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": 2481,
"language": "ka",
"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/7852220");
$data = json_decode($json, true);
var_dump($data);