API für 4Netplayers Turbolink 4Netplayers SCUM Server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 98,
"type": 0,
"unknownStatusFlags": 96,
"steam_id": null,
"domain": null,
"id": 11741048,
"ip": "146.0.47.163",
"port": 7780,
"query": 7780,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780491837,
"last_online": 1780584723,
"icon": null,
"name": "4Netplayers Turbolink 4Netplayers SCUM Server",
"connect": "146.0.47.163:7780",
"request": "146.0.47.163:7780",
"map": null,
"gamemode": "community-direct",
"version": "1.3.0.1.118271",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": null,
"private": true,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780412907,
"last_update": 1780584723,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3640,
"language": "pl",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11741048");
$data = json_decode($json, true);
var_dump($data);