Hired Ops
API für MSK5-MLGOBE
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1456507json
{
"response": {
"steam_id": "90284507987608597",
"domain": null,
"id": 1456507,
"ip": "92.223.103.42",
"port": 28205,
"query": 27205,
"color": 0,
"city": "Moscow",
"description": "",
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1776354032,
"score": null,
"last_online": 1776328211,
"icon": null,
"name": "MSK5-MLGOBE",
"connect": "92.223.103.42:28205",
"request": "92.223.103.42:27205",
"map": "1",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 3,
"maxplayers": 5,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 54,
"add_date": 1697307950,
"last_update": 1776354032,
"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": 27,
"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/1456507");
$data = json_decode($json, true);
var_dump($data);