Hired Ops
API für MSK2-S72UWX
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2070314json
{
"response": {
"steam_id": "90284524542865423",
"domain": null,
"id": 2070314,
"ip": "92.38.138.172",
"port": 28737,
"query": 27737,
"color": 0,
"city": "Moscow",
"description": "",
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1776451842,
"score": null,
"last_online": 1776356434,
"icon": null,
"name": "MSK2-S72UWX",
"connect": "92.38.138.172:28737",
"request": "92.38.138.172:27737",
"map": "13",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 4,
"maxplayers": 14,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 33,
"add_date": 1701849835,
"last_update": 1776451842,
"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": 180,
"language": "ru",
"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/2070314");
$data = json_decode($json, true);
var_dump($data);