[GOL] Guerrillas of Liberation - Tactical Coop için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286650591907842",
"domain": null,
"id": 4674501,
"ip": "208.115.206.19",
"port": 2327,
"query": 2328,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780286653,
"last_online": 1780737710,
"icon": null,
"name": "[GOL] Guerrillas of Liberation - Tactical Coop",
"connect": "208.115.206.19:2327",
"request": "208.115.206.19:2328",
"map": "vr",
"gamemode": "EMPTY_MISSION",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1717691703,
"last_update": 1780737710,
"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": 665,
"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/4674501");
$data = json_decode($json, true);
var_dump($data);