API dla [AU/NZ] TearBearGaming PvP | 1000x|BP Unlocked
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 29,
"fps_avg": 38,
"entities_count": 71042,
"world_seed": 169819367,
"world_size": 3500,
"steam_id": "90286610129403928",
"domain": null,
"id": 1153446,
"ip": "159.196.30.227",
"port": 20036,
"query": 20038,
"color": 0,
"city": "Brisbane",
"description": "![[AU/NZ] TearBearGaming PvP | 1000x|BP Unlocked](http://159.196.30.227:82/rust/tearbeargamingRustBanner.jpg)\nLast Map Wipe: 05/06/2026/n /n Clan Limit: None./n Map Size: 3500./n Wiped Fortnightly on Friday @ 5PM AEST./n - 1000x Rates./n - 1000x Resource Stack/n - Offline Raid Protection/n - All Workbench BP Unlocked./n - Custom LootTable/n - No Crafting Time./n - 10",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780607061,
"last_online": 1780635631,
"icon": null,
"name": "[AU/NZ] TearBearGaming PvP | 1000x|BP Unlocked",
"connect": "159.196.30.227:20036",
"request": "159.196.30.227:20038",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1689143056,
"last_update": 1780635631,
"banned": false,
"wipe": 1780607060,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2510,
"language": "en",
"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/1153446");
$data = json_decode($json, true);
var_dump($data);