API для GOM TEST SERVER.
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 163867,
"world_seed": 173416435,
"world_size": 4950,
"steam_id": "90286617188451343",
"domain": null,
"id": 9394427,
"ip": "168.100.161.195",
"port": 33015,
"query": 33016,
"color": 0,
"city": "London",
"description": "\nWelcome to Grumpy Old Man's 5x PVE/With PURGE Rust Server!\r\n\r\n Server Features:\r\n- bi-weekly Wipe. :\r\nThe Thuesday of the wipe around 6PM Eastern time. It will turn into full PVP.\r\n\r\nAccelerated gathering rates for fast-paced gameplay.\r\n\r\nBlue Print,StillTree and BackPack wipe on force wipe first thursday of the month.\r\n\r\nModifications Include:\r\n1. Faster Smelt: Smelt ores quickly.\r\n2. Kits, BackPack, Shop, RaidableBase.\r\n3. SkinBox: Express yourself with different skins.\r\n4. Larger Workbench Radius: Expand your crafting territory.\r\n5. Faster Recycling: Recycle junk faster.\r\n6. Kits: Specialized kits for survival.\r\n\r\n Community Guidelines:\r\n- Zero Tolerance Policy: No racist or hateful talk.\r\n\r\n Join Our Community:\r\nJoin our Discord for more info, full guidelines, and news: http://www.discord.gg/GrumpyOldMan\r\n\r\nRemember, the only thing grumpier than us is the bears. They really hate being hit with rocks. Welcome to the team, survivor!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779386629,
"last_online": 1780663836,
"icon": null,
"name": "GOM TEST SERVER.",
"connect": "168.100.161.195:33015",
"request": "168.100.161.195:33016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1748176525,
"last_update": 1780663836,
"banned": false,
"wipe": 1780594995,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3569,
"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/9394427");
$data = json_decode($json, true);
var_dump($data);