Dystopia
API für Cokie's Custom Maps
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5084778json
{
"response": {
"steam_id": "90284387086868494",
"domain": null,
"id": 5084778,
"ip": "168.119.247.21",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 17580,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": 0,
"last_online": 1776234052,
"icon": null,
"name": "Cokie's Custom Maps",
"connect": "168.119.247.21:27016",
"request": "168.119.247.21:27016",
"map": "dys_fusion",
"gamemode": "Dystopia",
"version": "1.5.4",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1720691066,
"last_update": 1776234052,
"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": 5,
"language": "de",
"parked": false,
"app": {
"id": 39,
"steam_id": 17580,
"name": "Dystopia",
"url": "dystopia"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/5084778");
$data = json_decode($json, true);
var_dump($data);