Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/569058
json
{
"response": {
"id": 569058,
"ip": "45.88.228.68",
"port": 28018,
"query": 28015,
"color": 0,
"description": "===Welcome to RENEGADERUST.COM 2x Monthly Main=== Wipes on the first Thursday o",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1754588737,
"score": null,
"last_online": 1755693022,
"icon": null,
"name": "US RENEGADE 2x Monthly Main | 50% Upkeep | No BP Wipe |",
"connect": "45.88.228.68:28018",
"request": "45.88.228.68:28015",
"map": "discord.gg/RenegadeRust",
"gamemode": "Rust",
"version": "2594",
"numplayers": 30,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 101,
"add_date": 1668891893,
"last_update": 1755693022,
"banned": false,
"wipe": 1754588781,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": 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/569058");
$data = json_decode($json, true);
var_dump($data);