DayZ
API für [RU] POZYVNOY RNC | PVP MORE LOOT | 10 MAX | RAID TIME | EVENTS
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/479303json
{
"response": {
"steam_id": 90284158952891400,
"domain": null,
"id": 479303,
"ip": "185.189.255.233",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775788322,
"score": 1.4,
"last_online": 1775791821,
"icon": null,
"name": "[RU] POZYVNOY RNC | PVP MORE LOOT | 10 MAX | RAID TIME | EVENTS",
"connect": "185.189.255.233:2302",
"request": "185.189.255.233:2305",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 9,
"maxplayers": 90,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1634568237,
"last_update": 1775791821,
"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": 1096,
"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/479303");
$data = json_decode($json, true);
var_dump($data);