Colony Survival
API für GameRack Modded dLAN
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7167534json
{
"response": {
"steam_id": "90284383807556615",
"domain": null,
"id": 7167534,
"ip": "151.80.205.181",
"port": 27004,
"query": 27004,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 366090,
"owner": null,
"boosts": 1,
"last_offline": 1776117117,
"score": 0,
"last_online": 1776219045,
"icon": null,
"name": "GameRack Modded dLAN",
"connect": "151.80.205.181:27004",
"request": "151.80.205.181:27004",
"map": "dLAN",
"gamemode": "Colony Survival",
"version": "00.15.01.000",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1736265455,
"last_update": 1776219045,
"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": 8,
"language": "fr",
"parked": false,
"app": {
"id": 6155,
"steam_id": 366090,
"name": "Colony Survival",
"url": "colony-survival"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/7167534");
$data = json_decode($json, true);
var_dump($data);