Day of Infamy
API für Kyylae Infamy server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5830608json
{
"response": {
"steam_id": "90201373199372310",
"domain": null,
"id": 5830608,
"ip": "95.216.46.163",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 447820,
"owner": null,
"boosts": 1,
"last_offline": 1772053298,
"score": 0,
"last_online": 1776355863,
"icon": null,
"name": "Kyylae Infamy server",
"connect": "95.216.46.163:27015",
"request": "95.216.46.163:27015",
"map": "foy",
"gamemode": "DOI",
"version": "3.2.1.5",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1725201994,
"last_update": 1776355863,
"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": 10,
"language": "fi",
"parked": false,
"app": {
"id": 167,
"steam_id": 447820,
"name": "Day of Infamy",
"url": "day-of-infamy"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/5830608");
$data = json_decode($json, true);
var_dump($data);