API dla 新服低倍 仿官PVE 长久稳定 A镜 搜566 海洋 - (v361.
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90278527880646672",
"domain": null,
"id": 2639242,
"ip": "120.132.119.43",
"port": 6205,
"query": 26205,
"color": 0,
"city": "Beijing",
"description": "",
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1770106597,
"last_online": 1780530129,
"icon": null,
"name": "新服低倍 仿官PVE 长久稳定 A镜 搜566 海洋 - (v361.",
"connect": "120.132.119.43:6205",
"request": "120.132.119.43:26205",
"map": "Aquatica",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 136,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1705872885,
"last_update": 1780530129,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4005,
"language": "zh",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/2639242");
$data = json_decode($json, true);
var_dump($data);