Rust
API для Atlas - US 10x | No BPs | Kits | Shop
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1365152json
{
"response": {
"modded": true,
"fps": 30,
"fps_avg": 30,
"entities_count": 445539,
"world_seed": 1337,
"world_size": 5000,
"steam_id": "90284197010650135",
"domain": null,
"id": 1365152,
"ip": "208.52.152.193",
"port": 28015,
"query": 28010,
"color": 0,
"city": "Dallas",
"description": "\nAtlas Rust Servers | Made for the most competitive\r\n\r\nWipe times\r\n5:00 PM EST Monday\r\n5:00 PM EST Friday\r\n\r\nLinks\r\n• discord.gg/atlasrust\r\n• store.atlasrustservers.com\r\nFeatures\r\n• 10X Gather\r\n• 15X Sulfur\r\n• 10X Loot (removed junk)\r\n• Custom events\r\n• Boosted Custom Kits\r\n\r\n24 Hour Discord Staff Support",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194329,
"score": null,
"last_online": 1775884810,
"icon": null,
"name": "Atlas - US 10x | No BPs | Kits | Shop",
"connect": "208.52.152.193:28015",
"request": "208.52.152.193:28010",
"map": "discord.gg/atlasrust",
"gamemode": "Survival",
"version": "2623",
"numplayers": 373,
"maxplayers": 450,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 128,
"add_date": 1693512668,
"last_update": 1775884810,
"banned": false,
"wipe": 1775854703,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 56,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1365152");
$data = json_decode($json, true);
var_dump($data);