Hired Ops
API für HGKG4-R4KWT3
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/3075845json
{
"response": {
"steam_id": "90284517646392321",
"domain": null,
"id": 3075845,
"ip": "209.58.191.59",
"port": 28480,
"query": 27480,
"color": 0,
"city": "Wan Chai",
"description": "",
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1776450152,
"score": null,
"last_online": 1776345178,
"icon": null,
"name": "HGKG4-R4KWT3",
"connect": "209.58.191.59:28480",
"request": "209.58.191.59:27480",
"map": "13",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 2,
"maxplayers": 14,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": false,
"votes": 0,
"points": 16,
"add_date": 1708289011,
"last_update": 1776450152,
"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": 737,
"language": "zh",
"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/3075845");
$data = json_decode($json, true);
var_dump($data);