Counter-Strike: Source
API для GAMER.KG | CS:S Zombie Reloaded
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11063883json
{
"response": {
"steam_id": "90284330579345437",
"domain": null,
"id": 11063883,
"ip": "176.126.167.77",
"port": 26003,
"query": 26003,
"color": 0,
"city": "Bishkek",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1773721322,
"score": 0,
"last_online": 1776206449,
"icon": null,
"name": "GAMER.KG | CS:S Zombie Reloaded",
"connect": "176.126.167.77:26003",
"request": "176.126.167.77:26003",
"map": "zm_box_with_light_v2_36in",
"gamemode": "Counter-Strike: Source",
"version": "6630498",
"numplayers": 0,
"maxplayers": 33,
"bots": 0,
"secured": true,
"private": false,
"country": "KG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769971196,
"last_update": 1776206449,
"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": 1595,
"language": "ky",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11063883");
$data = json_decode($json, true);
var_dump($data);