API для ? Дети_90-х ? Public [18+]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 307286,
"ip": "46.174.53.73",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1778776978,
"last_online": 1780578052,
"icon": null,
"name": "? Дети_90-х ? Public [18+]",
"connect": "46.174.53.73:27015",
"request": "46.174.53.73:27015",
"map": "de_dust2_2x2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 4,
"maxplayers": 32,
"bots": 1,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1589490245,
"last_update": 1780578052,
"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": 5003,
"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/307286");
$data = json_decode($json, true);
var_dump($data);