Counter-Strike
API для ДЕДУШКИ В CS 1.6 ЖЕНСКИЙ ВЗВОД [18+]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/377169json
{
"response": {
"steam_id": null,
"domain": null,
"id": 377169,
"ip": "37.230.210.161",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1766770886,
"score": null,
"last_online": 1776123612,
"icon": null,
"name": "ДЕДУШКИ В CS 1.6 ЖЕНСКИЙ ВЗВОД [18+]",
"connect": "37.230.210.161:27015",
"request": "37.230.210.161:27015",
"map": "de_dust2_2x2",
"gamemode": "НОЧЬЮ CraZY VIP",
"version": "1.1.2.7/Stdio",
"numplayers": 17,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1597711813,
"last_update": 1776123612,
"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": 2062,
"language": "ru",
"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/377169");
$data = json_decode($json, true);
var_dump($data);