Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/444938
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 118488,
"world_seed": 1337,
"world_size": 3500,
"id": 444938,
"ip": "168.100.162.253",
"port": 28010,
"query": 28015,
"color": 0,
"description": "\nOfficial Rusty Moose US Mini\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": 1752779190,
"score": null,
"last_online": 1755692147,
"icon": null,
"name": "Rusty Moose |US Mini|",
"connect": "168.100.162.253:28010",
"request": "168.100.162.253:28015",
"map": "Moose Maps",
"gamemode": "Survival",
"version": "2594",
"numplayers": 17,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1630779702,
"last_update": 1755692147,
"banned": false,
"wipe": 1755198003,
"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/444938");
$data = json_decode($json, true);
var_dump($data);