Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7174335
json
{
"response": {
"id": 7174335,
"ip": "81.31.231.85",
"port": 27017,
"query": 27017,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "Welcome to LastSurvivors.co | Solo/Duo! \r\n This is a vanilla Rust server tailored for solo and duo players, ensuring a balanced and fair experience. \r\n - Bi-weekly wipes (Every 2 weeks) keep the gameplay fresh and exciting. \r\n - Active, non-playing admins maintain fairness and provide a safe environment. \r\n Join our community and connect with fellow survivors on Discord: discord.gg/lastsurvivors \r\n Prepare, survive, and thrive in the ultimate Rust experience!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1746085600,
"score": 0,
"last_online": 1743167449,
"icon": null,
"name": "[EU] LastSurvivors.co | Solo/Duo Full wiped 17/03 17.03",
"connect": "81.31.231.85:27015",
"request": "81.31.231.85:27017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 125,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1736279669,
"last_update": 1746085600,
"banned": false,
"wipe": 1742172357,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7174335");
$data = json_decode($json, true);
var_dump($data);