Project Zomboid
API für Project Bongzoid
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11190502json
{
"response": {
"steam_id": "90284753855465491",
"domain": null,
"id": 11190502,
"ip": "195.201.241.210",
"port": 27410,
"query": 27410,
"color": 0,
"city": "Falkenstein",
"description": "Welcome to the Project Bongzoid B42 MP server",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774210314,
"score": 0,
"last_online": 1776804026,
"icon": null,
"name": "Project Bongzoid",
"connect": "195.201.241.210:27410",
"request": "195.201.241.210:27410",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.15",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699147,
"last_update": 1776804026,
"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": 2162,
"language": "de",
"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/11190502");
$data = json_decode($json, true);
var_dump($data);