API dla RustOps - Monthly Quad | No BP Wipes | FULLWIPED 04/06 04.06 04
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286836948471825",
"domain": null,
"id": 10870265,
"ip": "193.25.252.119",
"port": 28166,
"query": 28167,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nRustOps — High-performance vanilla servers with ultra-low ping, active staff, and smart balancing to keep fights fair, wipes fresh, and every session feeling smooth and competitive.\r\nSkip Queue: https://rustops.org/shop\r\n Discord: discord.gg/rustops , https://rustops.org/discord\r\n Rules: https://rustops.org/rules\r\n \r\n → Group Limit: 4 QUAD\r\n → Map Size: 3600\r\nWipe Schedule:\r\n - Map wipe monthly, NO BP WIPES EVER!\r\nWe can also offer optional map wipes if the population is really low!\r\n Administration:\r\n - Our admin team operates on a strict hands-off approach, we monitor the server actively but only enter the game when intervention is genuinely required\r\n Full Info: https://rustops.org",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781241777,
"last_online": 1781136028,
"icon": null,
"name": "RustOps - Monthly Quad | No BP Wipes | FULLWIPED 04/06 04.06 04",
"connect": "193.25.252.119:28166",
"request": "193.25.252.119:28167",
"map": "Wiped 6 days ago",
"gamemode": "Rust",
"version": "2627",
"numplayers": 0,
"maxplayers": 215,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768318403,
"last_update": 1781241777,
"banned": false,
"wipe": 1780595050,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10249,
"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/10870265");
$data = json_decode($json, true);
var_dump($data);