API für JP ShiGu Server PvE
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 65,
"fps_avg": 68,
"entities_count": 79607,
"world_seed": 1363151330,
"world_size": 3500,
"steam_id": "90286610137512973",
"domain": null,
"id": 11607236,
"ip": "220.158.23.102",
"port": 28015,
"query": 29015,
"color": 0,
"city": "Chiyoda City",
"description": "\n【お知らせ】この鯖はPVEですが建築などの理由により鯖主の意向で設定がPVPになっております。\r\nレイドなどの荒らしがあるかもしれませんので拠点はできるだけ石以上にすることをお勧めします。\r\n詳しくは鯖の説明欄を読んでください。(discordもあります)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602268,
"last_online": 1780672222,
"icon": null,
"name": "JP ShiGu Server PvE",
"connect": "220.158.23.102:28015",
"request": "220.158.23.102:29015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 29,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 84,
"add_date": 1779915500,
"last_update": 1780672222,
"banned": false,
"wipe": 1780602696,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 591,
"language": "ja",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11607236");
$data = json_decode($json, true);
var_dump($data);