Counter-Strike: Global Offensive
API для [CS:GO] ★ TESTE.THUNDERS-CS.RO ★ | Working....
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11219725json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11219725,
"ip": "5.183.171.188",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Bucharest",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1774885286,
"score": 0,
"last_online": 1776820883,
"icon": null,
"name": "[CS:GO] ★ TESTE.THUNDERS-CS.RO ★ | Working....",
"connect": "5.183.171.188:27015",
"request": "5.183.171.188:27015",
"map": "am_grass2_rw",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "RO",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772751434,
"last_update": 1776820883,
"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": 1180,
"language": "ro",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11219725");
$data = json_decode($json, true);
var_dump($data);