API dla EU Calm x2 | JUST WIPED | Weekly | Vanilla+ | Max 5
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 123,
"fps_avg": 127,
"entities_count": 145405,
"world_seed": 845927578,
"world_size": 4250,
"steam_id": "90286604339930138",
"domain": null,
"id": 10870280,
"ip": "157.85.95.66",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Frankfurt am Main",
"description": "\n50% Offline Protection | Custom Loot (less junk / more guns)\r\nWeekly Wipes | Max Team 5 | English chat!\r\nA community-first server built for fair and fun gameplay.\r\nNo toxicity. No pay-to-win. No cheating/exploiting!\r\nQoL Mods:\r\nStack Modifier | Extended Workbench\r\nAutoTurretAuth | Sort Button\r\nMapMyAirdrop | Starter Kit | Skip Night\r\nPatrol heli crashes anywhere | Minis rarely spawn on the road!\r\nFast hackable crates (5 min)\r\nDiscord: discord.gg/3hkgmwPm28\r\nNext wipe: Thursday - June 11th 7PM\r\nWe are building a community - not a single wipe server!\r\nVote for us: rustservers.gg/server/5937549/vote",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780605029,
"icon": null,
"name": "EU Calm x2 | JUST WIPED | Weekly | Vanilla+ | Max 5",
"connect": "157.85.95.66:28015",
"request": "157.85.95.66:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 5,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1768318403,
"last_update": 1780605029,
"banned": false,
"wipe": 1780596754,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1899,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10870280");
$data = json_decode($json, true);
var_dump($data);