Half-Life: Opposing Force
API für MrCalvin's OP4 Server (FastDL) | discord.sbotnas.io
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10889322json
{
"response": {
"steam_id": "90284307584166937",
"domain": null,
"id": 10889322,
"ip": "107.172.6.148",
"port": 27045,
"query": 27045,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 50,
"owner": null,
"boosts": 1,
"last_offline": 1774447919,
"score": 0,
"last_online": 1776438616,
"icon": null,
"name": "MrCalvin's OP4 Server (FastDL) | discord.sbotnas.io",
"connect": "107.172.6.148:27045",
"request": "107.172.6.148:27045",
"map": "op4_chscommons_b1",
"gamemode": "Opposing Force",
"version": "1.1.2.2/Stdio",
"numplayers": 8,
"maxplayers": 32,
"bots": 8,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 80,
"add_date": 1768322603,
"last_update": 1776438616,
"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": "en",
"parked": false,
"app": {
"id": 33,
"steam_id": 50,
"name": "Half-Life: Opposing Force",
"url": "half-life-opposing-force"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10889322");
$data = json_decode($json, true);
var_dump($data);