DayZ
API für STT - Survive Till Tomorrow [FR/EN/EU - Livonia]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11489864json
{
"response": {
"steam_id": "90284935686077451",
"domain": null,
"id": 11489864,
"ip": "217.182.193.142",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1777055590,
"score": 0,
"last_online": 1777112540,
"icon": null,
"name": "STT - Survive Till Tomorrow [FR/EN/EU - Livonia]",
"connect": "217.182.193.142:2302",
"request": "217.182.193.142:2305",
"map": "enoch",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1776958830,
"last_update": 1777112540,
"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": 3937,
"language": "fr",
"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/11489864");
$data = json_decode($json, true);
var_dump($data);