API für Ground Zero | PC PvP Vanilla-ish | Fresh Wipes, Real Survival
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10928724,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Paris",
"description": null,
"game": 221100,
"owner": 160142,
"boosts": 1,
"last_offline": 1772568338,
"last_online": 1771697416,
"icon": null,
"name": "Ground Zero | PC PvP Vanilla-ish | Fresh Wipes, Real Survival",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768481286,
"last_update": 1772568338,
"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": 14000,
"language": "fr",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "theonlyairwalk",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10928724");
$data = json_decode($json, true);
var_dump($data);