API для Evrima-Lab-Matze
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794331737,
"app": {
"id": 136,
"name": "The Isle",
"steam_id": 376210,
"url": "the-isle"
},
"color": 0,
"connect": "80.129.31.73:7777",
"country": "DE",
"domain": null,
"game": 376210,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19916102,
"ip": "80.129.31.73",
"language": "de",
"last_update": 1794597932,
"map": "Gateway",
"maxplayers": 8,
"name": "Evrima-Lab-Matze",
"numplayers": 0,
"official": false,
"points": 0,
"port": 7777,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7777,
"request": "80.129.31.73:7777",
"secured": null,
"status": false,
"steam_id": null,
"version": "evrima 0.21.784",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Kempten (Allgäu)",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794597932,
"last_online": 1794399094,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2424,
"wipe_period": null,
"eosSessionId": "063b9dd3ba054d50b427b46688ee1b92"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19916102");
$data = json_decode($json, true);
var_dump($data);