Hired Ops
API für AMS2-GM78A6
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8643973json
{
"response": {
"steam_id": "90284507847155724",
"domain": null,
"id": 8643973,
"ip": "212.102.34.57",
"port": 28961,
"query": 27961,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1776347024,
"score": 0,
"last_online": 1776328216,
"icon": null,
"name": "AMS2-GM78A6",
"connect": "212.102.34.57:28961",
"request": "212.102.34.57:27961",
"map": "9",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 1,
"maxplayers": 14,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 13,
"add_date": 1745254217,
"last_update": 1776347024,
"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": 288,
"language": "nl",
"parked": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/8643973");
$data = json_decode($json, true);
var_dump($data);