[ASG] ArmA-Spielegemeinschaft.de | Eventserver CUP | [DE/GER] için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286642353762304",
"domain": null,
"id": 11542981,
"ip": "195.201.169.5",
"port": 2320,
"query": 2321,
"project_id": null,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780611204,
"last_online": 1780773040,
"icon": null,
"name": "[ASG] ArmA-Spielegemeinschaft.de | Eventserver CUP | [DE/GER]",
"connect": "195.201.169.5:2320",
"request": "195.201.169.5:2321",
"map": "brf_sumava",
"gamemode": "[COXX]OP_WEFYB_v3",
"version": "2.20.152984",
"numplayers": 6,
"maxplayers": 11,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1779355480,
"last_update": 1780773040,
"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": 116,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11542981");
$data = json_decode($json, true);
var_dump($data);