API для ����� �����
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285655641310236",
"domain": null,
"id": 11531865,
"ip": "92.38.222.39",
"port": 65041,
"query": 65042,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1780470424,
"last_online": 1780677651,
"icon": null,
"name": "����� �����",
"connect": "92.38.222.39:65041",
"request": "92.38.222.39:65042",
"map": "����� �����",
"gamemode": null,
"version": "0.221.12",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1779355140,
"last_update": 1780677651,
"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": 194,
"language": "ru",
"parked": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11531865");
$data = json_decode($json, true);
var_dump($data);