Counter-Strike
API для DreamsGamers.cl | Gungame Grupal Galactico +Extra Items CTF
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10799081json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10799081,
"ip": "38.7.218.83",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Santiago",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776039669,
"score": 0,
"last_online": 1776457868,
"icon": null,
"name": "DreamsGamers.cl | Gungame Grupal Galactico +Extra Items CTF",
"connect": "38.7.218.83:27021",
"request": "38.7.218.83:27021",
"map": "gg_sklad",
"gamemode": "Gungame + items + Bandera 49",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 20,
"bots": 3,
"secured": true,
"private": false,
"country": "CL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766916703,
"last_update": 1776457868,
"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": 6388,
"language": "es",
"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/10799081");
$data = json_decode($json, true);
var_dump($data);