DayZ
API für STALKER: DayZone | Official RP | discord.gg/dayzonerp
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5801181json
{
"response": {
"steam_id": "90284731008921628",
"domain": null,
"id": 5801181,
"ip": "195.18.27.247",
"port": 2402,
"query": 2315,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776590602,
"score": 5,
"last_online": 1776781227,
"icon": null,
"name": "STALKER: DayZone | Official RP | discord.gg/dayzonerp",
"connect": "195.18.27.247:2402",
"request": "195.18.27.247:2315",
"map": "dz_map",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 34,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 3,
"points": 55,
"add_date": 1725019337,
"last_update": 1776781227,
"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": 1204,
"language": "ru",
"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/5801181");
$data = json_decode($json, true);
var_dump($data);