Counter-Strike: Source
API для [v34] ДЕДЫ 90-Х [Public] 18+
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/917json
{
"response": {
"steam_id": null,
"domain": null,
"id": 917,
"ip": "46.174.54.57",
"port": 27777,
"query": 27777,
"color": 0,
"city": "Moscow",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1773937321,
"score": null,
"last_online": 1776118218,
"icon": null,
"name": "[v34] ДЕДЫ 90-Х [Public] 18+",
"connect": "46.174.54.57:27777",
"request": "46.174.54.57:27777",
"map": "de_dust2",
"gamemode": "★★★▌Public 18+▌★★★",
"version": "1.0.0.34",
"numplayers": 11,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 50,
"add_date": 1501541134,
"last_update": 1776118218,
"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": 376,
"language": "ru",
"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/917");
$data = json_decode($json, true);
var_dump($data);