API для V_Pankrác_CZ
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286988026179603",
"domain": null,
"id": 11791916,
"ip": "185.180.2.95",
"port": 27679,
"query": 28679,
"project_id": null,
"color": 0,
"city": "Prague",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1781377327,
"last_online": 1781428278,
"icon": null,
"name": "V_Pankrác_CZ",
"connect": "185.180.2.95:27679",
"request": "185.180.2.95:28679",
"map": "VRisingWorld",
"gamemode": "1c067c09-3541-4289-847c-b9c667cbe831",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "CZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1781377327,
"last_update": 1781428278,
"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": 3781,
"language": "cs",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11791916");
$data = json_decode($json, true);
var_dump($data);