API für Horatio Gaming
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286463877005331",
"domain": null,
"id": 11649732,
"ip": "51.161.116.48",
"port": 27290,
"query": 27290,
"color": 0,
"city": "Beauharnois",
"description": "Server exclusivo de Horatio y invitados",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780272251,
"last_online": 1780304423,
"icon": null,
"name": "Horatio Gaming",
"connect": "51.161.116.48:27290",
"request": "51.161.116.48:27290",
"map": "Coryerdon B42;Raven Creek B42;A",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 2,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1780177705,
"last_update": 1780304423,
"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": 61,
"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/11649732");
$data = json_decode($json, true);
var_dump($data);