API für [PVE | EN] Another friendly place to kill <RGB:1.0,0.5,0.5>zomb
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286324320471056",
"domain": null,
"id": 11679225,
"ip": "87.62.101.59",
"port": 16261,
"query": 16261,
"project_id": null,
"color": 0,
"city": "Vindinge",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780938823,
"last_online": 1780350719,
"icon": null,
"name": "[PVE | EN] Another friendly place to kill <RGB:1.0,0.5,0.5>zomb",
"connect": "87.62.101.59:16261",
"request": "87.62.101.59:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780216357,
"last_update": 1780938823,
"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": 10144,
"language": "da",
"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/11679225");
$data = json_decode($json, true);
var_dump($data);