API für The Lonely Road [ThisBetterWork]
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286616987959321",
"domain": null,
"id": 11618938,
"ip": "195.201.243.125",
"port": 27400,
"query": 27400,
"color": 0,
"city": "Falkenstein",
"description": "I hate hosting servers",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1779915971,
"last_online": 1780628615,
"icon": null,
"name": "The Lonely Road [ThisBetterWork]",
"connect": "195.201.243.125:27400",
"request": "195.201.243.125:27400",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915971,
"last_update": 1780628615,
"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": 2305,
"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/11618938");
$data = json_decode($json, true);
var_dump($data);