Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/442457
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 167566,
"world_seed": 1337,
"world_size": 4000,
"id": 442457,
"ip": "168.100.163.12",
"port": 28010,
"query": 28015,
"color": 0,
"description": "\nOfficial Rusty Moose US Medium\r\n\r\nWipe Schedule\r\n - Thursdays @ 3pm EST (unless force wipe)\r\n - Moose servers do not wipe blueprints\r\n\r\nJoin our Discord server for announcements and to get more involved with the community!\r\n\r\nhttps://moose.gg/vip\r\nhttps://discord.gg/moose\r\n\r\nForce wipes are always on the first Thursday of the month at 2pm EST / 19:00 London time.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1753988798,
"score": null,
"last_online": 1755693625,
"icon": null,
"name": "Rusty Moose |US Medium|",
"connect": "168.100.163.12:28010",
"request": "168.100.163.12:28015",
"map": "Moose Maps",
"gamemode": "Survival",
"version": "2594",
"numplayers": 23,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1630779632,
"last_update": 1755693625,
"banned": false,
"wipe": 1755197990,
"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/442457");
$data = json_decode($json, true);
var_dump($data);