API für SCUM Server Official Beginner #1 - US East
JSON für Programme, Websites und mehr
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 0,
"type": 2,
"unknownStatusFlags": 0,
"steam_id": null,
"domain": null,
"id": 11739831,
"ip": "98.142.3.183",
"port": 20098,
"query": 20098,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780491836,
"last_online": 1780588852,
"icon": null,
"name": "SCUM Server Official Beginner #1 - US East",
"connect": "98.142.3.183:20098",
"request": "98.142.3.183:20098",
"map": null,
"gamemode": "official",
"version": "1.3.0.1.118271",
"numplayers": 4,
"maxplayers": 64,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1780412900,
"last_update": 1780588852,
"banned": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1065,
"language": "en",
"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/11739831");
$data = json_decode($json, true);
var_dump($data);