DayZ
API für H5N1 Hardcore Chernarus PvE |Terje|Expansion|Maplink|
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11150216json
{
"response": {
"steam_id": "90284569776552989",
"domain": null,
"id": 11150216,
"ip": "87.159.20.71",
"port": 2302,
"query": 27016,
"color": 0,
"city": "Grafenau",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775857926,
"score": 0,
"last_online": 1776450039,
"icon": null,
"name": "H5N1 Hardcore Chernarus PvE |Terje|Expansion|Maplink|",
"connect": "87.159.20.71:2302",
"request": "87.159.20.71:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1772227772,
"last_update": 1776450039,
"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": 1775,
"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/11150216");
$data = json_decode($json, true);
var_dump($data);