Rust
API для Atlas - US 2X Monthly | Vanilla+ | No BP Wipes
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3024934json
{
"response": {
"modded": true,
"fps": 30,
"fps_avg": 30,
"entities_count": 496456,
"world_seed": 1337,
"world_size": 4750,
"steam_id": "90284732518202393",
"domain": null,
"id": 3024934,
"ip": "216.39.240.89",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Ashburn",
"description": "\nAtlas Rust Servers | Made for the most competitive\r\n\r\nMap Wipes: Force Wipes\r\nBlueprints Wipes: N/A (does not wipe ever)\r\n\r\nLinks\r\n• discord.gg/atlasrust\r\n• store.atlasrustservers.com\r\n\r\nFeatures\r\n• 2x Gather\r\n• 2x Loot (removed junk)\r\n• Free QoL\r\n• No paid features\r\n\r\n24 hours discord staff support",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776420816,
"score": null,
"last_online": 1776795010,
"icon": null,
"name": "Atlas - US 2X Monthly | Vanilla+ | No BP Wipes",
"connect": "216.39.240.89:28010",
"request": "216.39.240.89:28015",
"map": "discord.gg/atlasrust",
"gamemode": "Survival",
"version": "2623",
"numplayers": 139,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 103,
"add_date": 1708077853,
"last_update": 1776795010,
"banned": false,
"wipe": 1775152767,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 156,
"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/3024934");
$data = json_decode($json, true);
var_dump($data);