DayZ
API für REDEMPTION | 4 Man | High FPS | Keys/Keycards | Custom Events |
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11423067json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11423067,
"ip": "80.66.85.189",
"port": 31923,
"query": 26564,
"color": 0,
"city": "Frankfurt Am Main",
"description": "DayZ-Expansion-Name-Tags��Sq��y�DayZ-Expansion-Navigation��#\\ޙ�DayZ-Expansion-Core�mj���6�RaG_BaseBuildingۖ�QA��RaG_Core�9Ήb���DayZ-Expansion-Quests�T��l\rVPPAdminTools�QV� ���Dabs Framework�Ưh��\\Community Framework",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775793679,
"score": 0,
"last_online": 1776366611,
"icon": null,
"name": "REDEMPTION | 4 Man | High FPS | Keys/Keycards | Custom Events |",
"connect": "80.66.85.189:31923",
"request": "80.66.85.189:26564",
"map": "enoch",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 123,
"maxplayers": 127,
"bots": 123,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 128,
"add_date": 1774600062,
"last_update": 1776366611,
"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": 86,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11423067");
$data = json_decode($json, true);
var_dump($data);