API für Happy Birthday!
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10761462,
"ip": "31.214.162.163",
"port": 25678,
"query": 25678,
"color": 0,
"city": "Clifton",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1778961176,
"last_online": 1780587139,
"icon": null,
"name": "Happy Birthday!",
"connect": "31.214.162.163:25678",
"request": "31.214.162.163:25678",
"map": null,
"gamemode": null,
"version": "26.1",
"numplayers": 0,
"maxplayers": 1337,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766259806,
"last_update": 1780587139,
"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": 3995,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10761462");
$data = json_decode($json, true);
var_dump($data);