Counter-Strike: Global Offensive
API для PONYHVH.TECH | ONLY SCOUT | Mirage [RollFix] | Novosibirsk
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11429624json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11429624,
"ip": "82.147.67.182",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 4465480,
"owner": 182625,
"boosts": 3,
"last_offline": 1774651348,
"score": 0,
"last_online": 1776429009,
"icon": null,
"name": "PONYHVH.TECH | ONLY SCOUT | Mirage [RollFix] | Novosibirsk",
"connect": "82.147.67.182:27015",
"request": "82.147.67.182:27015",
"map": "de_mirage",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 10,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 270,
"add_date": 1774613769,
"last_update": 1776429009,
"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": 25,
"language": "ru",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "nikita_gradus",
"avatar": "3f511925-7132-4cd2-944a-594bfcd3bd8c.jpg",
"last_online": 1776319442
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11429624");
$data = json_decode($json, true);
var_dump($data);