Insurgency
API für [星团PVE] 黑色行动 | 指挥官 野战工事 Armory
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8797562json
{
"response": {
"steam_id": "85568392930385323",
"domain": null,
"id": 8797562,
"ip": "116.9.121.107",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Liuzhou",
"description": null,
"game": 222880,
"owner": null,
"boosts": 1,
"last_offline": 1776463401,
"score": 0,
"last_online": 1776522016,
"icon": null,
"name": "[星团PVE] 黑色行动 | 指挥官 野战工事 Armory",
"connect": "116.9.121.107:27015",
"request": "116.9.121.107:27015",
"map": "embassy_coop",
"gamemode": "Insurgency",
"version": "2.4.2.4",
"numplayers": 12,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 88,
"add_date": 1746039004,
"last_update": 1776522016,
"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": 6,
"language": "zh",
"parked": false,
"app": {
"id": 13,
"steam_id": 222880,
"name": "Insurgency",
"url": "insurgency"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/8797562");
$data = json_decode($json, true);
var_dump($data);