API dla Hong Kong 20X resources Redemption PVE
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 57,
"fps_avg": 57,
"entities_count": 118690,
"world_seed": 40090000,
"world_size": 5000,
"steam_id": 90286621610203140,
"domain": null,
"id": 11645196,
"ip": "202.165.70.91",
"port": 49035,
"query": 49036,
"project_id": null,
"color": 0,
"city": "Hong Kong",
"description": "Custom Maps Airfield Event Raidable bases Jungle tree building Upgrade from TC Youtube channel Dino D-American in the Philippines ,5 mintues for a locked crate instead of 15 minutes. No BP needed, Server is setup for people that want to try new things from the updates and have a safe place to learn building. Wipe will be on Friday Hong Kong time, day before wipe on Thursday is purge day for raiding. Teleport, add home, resource splitter for the furnaces, and more. Join the server and have fun.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780640659,
"last_online": 1780686036,
"icon": null,
"name": "Hong Kong 20X resources Redemption PVE",
"connect": "202.165.70.91:49035",
"request": "202.165.70.91:49036",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177453,
"last_update": 1780686036,
"banned": false,
"wipe": 1780640702,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5606,
"language": "zh",
"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/11645196");
$data = json_decode($json, true);
var_dump($data);