API für Magic Rust — Long | Kлaccикa x1 | Pyccкий
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 32,
"fps_avg": 31,
"entities_count": 501639,
"world_seed": 524155146,
"world_size": 4500,
"steam_id": "90286694471658520",
"domain": null,
"id": 11305437,
"ip": "80.242.59.250",
"port": 10000,
"query": 10010,
"project_id": null,
"color": 0,
"city": "Veliky Novgorod",
"description": "\nВайп Карты: каждый первый четверг месяца в 21:00 МСК\r\nВайп Рецептов: каждый месяц\r\nМодерация 24/7: F7 чтобы отправить жалобу на игрока\r\n\r\nХарактеристики сервера:\r\nНет лагов и доната\\t|\\tПолная классика\\t|\\tЛимит команды: Нет\r\n\r\nИнформация:\r\nOur Discord: https://discord.gg/magicrust\r\nOur Store: https://magicrust.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780794251,
"last_online": 1780861214,
"icon": null,
"name": "Magic Rust — Long | Kлaccикa x1 | Pyccкий",
"connect": "80.242.59.250:10000",
"request": "80.242.59.250:10010",
"map": "ДЛЯ CЛAБЫX ПK",
"gamemode": "VANILLA",
"version": "2627",
"numplayers": 710,
"maxplayers": 740,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 121,
"add_date": 1774592885,
"last_update": 1780861214,
"banned": false,
"wipe": 1780595582,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 50,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11305437");
$data = json_decode($json, true);
var_dump($data);