Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/567354
json
{
"response": {
"fps": 48,
"fps_avg": 49,
"world_seed": 1337,
"world_size": 4250,
"entities_count": 313128,
"id": 567354,
"ip": "45.88.230.46",
"port": 28018,
"query": 28015,
"owner_name": "GeoSciencegeek",
"owner_avatar": "6bd50a36-573e-4532-b65d-d3f80795e956.jpg",
"color": 0,
"description": "===Welcome to EU RENEGADERUST.COM 2x Monthly Main=== Wipes on the first Thursda",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1745129784,
"score": null,
"last_online": 1746056428,
"icon": null,
"name": "EU RENEGADE 2x Monthly Main | 50% Upkeep | No BP Wipe | Noob Fr",
"connect": "45.88.230.46:28018",
"request": "45.88.230.46:28015",
"map": "discord.gg/RenegadeRust",
"gamemode": "Survival",
"version": "2585",
"numplayers": 52,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 99,
"add_date": 1668889493,
"last_update": 1746056428,
"banned": false,
"wipe": 1745502819,
"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": {
"username": "GeoSciencegeek",
"avatar": "6bd50a36-573e-4532-b65d-d3f80795e956.jpg"
},
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/567354");
$data = json_decode($json, true);
var_dump($data);