Project Zomboid
API für [PvEvP][27/7]TUBOID B42.16.3 Unstable Test|Discord:yGyfFbvqeA
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11489422json
{
"response": {
"steam_id": "90284569983892495",
"domain": null,
"id": 11489422,
"ip": "116.89.6.220",
"port": 55565,
"query": 55565,
"color": 0,
"city": "Singapore",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776435896,
"score": 0,
"last_online": 1776455424,
"icon": null,
"name": "[PvEvP][27/7]TUBOID B42.16.3 Unstable Test|Discord:yGyfFbvqeA",
"connect": "116.89.6.220:55565",
"request": "116.89.6.220:55565",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 12,
"maxplayers": 36,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1776435896,
"last_update": 1776455424,
"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": 227,
"language": "en",
"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/11489422");
$data = json_decode($json, true);
var_dump($data);