API für Sukiro's Deadlies
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286371283198998",
"domain": null,
"id": 11649867,
"ip": "209.159.156.46",
"port": 25650,
"query": 25650,
"color": 0,
"city": "Secaucus",
"description": "This server is not noob friendly. We got bandits, helis and hellish airdrops",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780177713,
"last_online": 1780306233,
"icon": null,
"name": "Sukiro's Deadlies",
"connect": "209.159.156.46:25650",
"request": "209.159.156.46:25650",
"map": "map_distanciado;LittleTownshipB",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177713,
"last_update": 1780306233,
"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": 3041,
"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/11649867");
$data = json_decode($json, true);
var_dump($data);