DayZ
API für The Lab US1 | Max 5 | dayzthelab.com
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/692215json
{
"response": {
"steam_id": "90285240533167106",
"domain": null,
"id": 692215,
"ip": "168.100.163.22",
"port": 2302,
"query": 27016,
"color": 0,
"city": "Dallas",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775671929,
"score": null,
"last_online": 1777717215,
"icon": null,
"name": "The Lab US1 | Max 5 | dayzthelab.com",
"connect": "168.100.163.22:2302",
"request": "168.100.163.22:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 71,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1672004160,
"last_update": 1777717215,
"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": 178,
"language": "en",
"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/692215");
$data = json_decode($json, true);
var_dump($data);