API для <color=#ff7b00>Land of the long White Dong</color>
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285769980528662",
"domain": null,
"id": 11531983,
"ip": "188.240.63.121",
"port": 6142,
"query": 6143,
"project_id": null,
"color": 0,
"city": "City of London",
"description": null,
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1780712007,
"last_online": 1779944494,
"icon": null,
"name": "<color=#ff7b00>Land of the long White Dong</color>",
"connect": "188.240.63.121:6142",
"request": "188.240.63.121:6143",
"map": "<color=#ff7b00>Land of the long",
"gamemode": null,
"version": "0.214.300",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779355143,
"last_update": 1780712007,
"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": 10557,
"language": "en",
"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/11531983");
$data = json_decode($json, true);
var_dump($data);