Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/446897
json
{
"response": {
"fps": 53,
"fps_avg": 53,
"entities_count": 96128,
"world_seed": 1864431301,
"world_size": 3750,
"id": 446897,
"ip": "176.57.174.158",
"port": 29115,
"query": 29116,
"color": 0,
"description": "\nWillkommen auf 4Trust, ein offener PvE-only Server von DrDart und 4T.\r\nWelcome to 4Trust, an open PvE-only server from DrDart and 4T.\r\nDE/EN only\r\n\r\nRULES: DONT KILL OR ROB OTHER PLAYERS OR THEIR BASES\r\n\r\nIf you need stuff, ask DrDart,4T or Sheen",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754964447,
"score": null,
"last_online": 1755692448,
"icon": null,
"name": "4Trust",
"connect": "176.57.174.158:29115",
"request": "176.57.174.158:29116",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2594",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779766,
"last_update": 1755692448,
"banned": false,
"wipe": 1754589765,
"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/446897");
$data = json_decode($json, true);
var_dump($data);