Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6196700
json
{
"response": {
"fps": 57,
"fps_avg": 58,
"entities_count": 46964,
"world_seed": 19686,
"world_size": 3000,
"id": 6196700,
"ip": "156.236.84.14",
"port": 28020,
"query": 28021,
"color": 0,
"description": "\nWelcome to Imperial's Cookie Server - where it's like the Sims but with guns. \r\n \r\n PVP is enabled for 1 hour at the following times: 01:00 AM, 05:00 AM, 09:00 AM, 01:00 PM, 05:00 PM and 09:00 PM. An announcement will be made to give all players 5 minutes to return home before it's enabled. Raiding is only allowed during PVP hour! /n /n Current Mods: StackSizeController, GatherManager, RemoverTool, Kits, FurnaceSplitter, BetterLoot, DeathNotes, Time of Day (55 Day, 5 night), ZLevelsRemastered, InfoPanel, SortButton, DangerousTreasures, SignArtist /n /n Rules: This server is not a Democracy - we do not tolerate hateful conduct (speech, signs, etc) at any time. Raiding is allowed ONLY when PVP is on. No griefing, I can't believe I had to add this.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1752949555,
"score": 0,
"last_online": 1755696632,
"icon": null,
"name": "Imperial - Cookie World",
"connect": "156.236.84.14:28020",
"request": "156.236.84.14:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1728330948,
"last_update": 1755696632,
"banned": false,
"wipe": 1755457398,
"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/6196700");
$data = json_decode($json, true);
var_dump($data);