Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/254328
json
{
"response": {
"oxide": true,
"modded": true,
"fps": 263,
"fps_avg": 262,
"entities_count": 43189,
"world_seed": 2234674,
"world_size": 3500,
"id": 254328,
"ip": "45.63.50.94",
"port": 28016,
"query": 28016,
"color": 0,
"description": "",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1723744492,
"score": null,
"last_online": 1755501123,
"icon": null,
"name": "GameServers.com",
"connect": "45.63.50.94:28016",
"request": "45.63.50.94:28016",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2000",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1583141415,
"last_update": 1755501123,
"banned": false,
"wipe": 1500005311,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": 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/254328");
$data = json_decode($json, true);
var_dump($data);