API для ""kivikello|comp""
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793194310,
"app": {
"id": 2,
"name": "Counter-Strike 2",
"steam_id": 730,
"url": "counter-strike-2"
},
"color": 0,
"connect": null,
"country": "FI",
"domain": null,
"game": 730,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19269881,
"ip": null,
"language": "fi",
"last_update": 1793220518,
"map": "cs_office",
"maxplayers": 10,
"name": "\"\"kivikello|comp\"\"",
"numplayers": 0,
"official": null,
"points": 0,
"port": null,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": null,
"request": null,
"secured": true,
"status": false,
"steam_id": "85568392932731253",
"version": "1.41.6.5",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Оулу",
"description": null,
"disabled_modules": [],
"gamemode": "Counter-Strike 2",
"hidden": false,
"last_offline": null,
"last_online": 1793220518,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": true,
"position_game": 26781,
"wipe_period": null,
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19269881");
$data = json_decode($json, true);
var_dump($data);