API für hkv3
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286184660674572",
"domain": null,
"id": 11536926,
"ip": "34.158.215.191",
"port": 16261,
"query": 16261,
"project_id": null,
"color": 0,
"city": "Seoul",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1779683006,
"last_online": 1781082107,
"icon": null,
"name": "hkv3",
"connect": "34.158.215.191:16261",
"request": "34.158.215.191:16261",
"map": "Grapeseed;BlackpineCounty;Daisy",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "KR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355316,
"last_update": 1781082107,
"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": 5366,
"language": "ko",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11536926");
$data = json_decode($json, true);
var_dump($data);