API für [Lastr~] Dark Forest Legends | PVE |
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286239864034322",
"domain": null,
"id": 6695207,
"ip": "57.129.38.86",
"port": 9876,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1775916716,
"last_online": 1781290858,
"icon": null,
"name": "[Lastr~] Dark Forest Legends | PVE |",
"connect": "57.129.38.86:9876",
"request": "57.129.38.86:9877",
"map": "VRisingWorld",
"gamemode": "5631274d-dc97-419d-a527-eff5dae8f6de",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1732096269,
"last_update": 1781290858,
"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": 461,
"language": "de",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/6695207");
$data = json_decode($json, true);
var_dump($data);