API dla Better Heterika [PvE] - Zombies|RaidBases|Events|Bradleys
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 106,
"fps_avg": 106,
"entities_count": 105093,
"world_seed": 331822025,
"world_size": 4250,
"steam_id": "90286381774950417",
"domain": null,
"id": 10780932,
"ip": "107.193.75.154",
"port": 29015,
"query": 29018,
"color": 0,
"city": "Imperial",
"description": "![Better Heterika [PvE] - Zombies|RaidBases|Events|Bradleys](https://i.imgur.com/9b5BnzY.png)\nWelcome to the Better Heterika!!\r\n\r\nThis is an invite-only server, apply through our discord!\r\n\r\nTired of a lazy admin? Tired of selective rule enforcement?\r\nTired of a server with a random wipe time?\r\nTired of players like Tired and Kitty hogging monuments?!\r\n\r\nThis is the server for you!\r\n\r\nFull wipe on 1st Thursday; entity/map wipe on the 3rd one at 1pm CST\r\n\r\nNO PVP anywhere, ever! Excav / Quarries / Pumpjacks lock to you\r\n\r\nSlightly juiced loot table, some modified stack sizes\r\nWorkbench Taxes in effect \\ Twig is breakable\r\nTech Tree is disabled the first week of wipe\r\n\r\nEvents & Fun Stuff:\r\n\r\nZombies, Convoy, Sputnik, Bradleys and NPCs at monuments\r\n\r\nRaidable Bases \\ NPC Raiders \\ Dungeons \\ Skinbox\r\n\r\nStackable Boxes \\ Forever Torches\r\n\r\nPersonal Spawnable Vehicles\r\n\r\nServer proudly hosted in the midwest, USA!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780098813,
"last_online": 1780579234,
"icon": null,
"name": "Better Heterika [PvE] - Zombies|RaidBases|Events|Bradleys",
"connect": "107.193.75.154:29015",
"request": "107.193.75.154:29018",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766872482,
"last_update": 1780579234,
"banned": false,
"wipe": 1779386774,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3891,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/10780932");
$data = json_decode($json, true);
var_dump($data);