Arma 2: Operation Arrowhead
API pentru [TacNet] Tactical-Network.de - Vanilla
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/5750266json
{
"response": {
"steam_id": "90284476177551374",
"domain": null,
"id": 5750266,
"ip": "144.76.105.109",
"port": 2352,
"query": 2353,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1775748682,
"score": 0,
"last_online": 1776453074,
"icon": null,
"name": "[TacNet] Tactical-Network.de - Vanilla",
"connect": "144.76.105.109:2352",
"request": "144.76.105.109:2353",
"map": "chernarus",
"gamemode": "Warfare BE v2.071 *Rubber Edition* CO@50 [1. US-KD] - Chernarus",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1724081327,
"last_update": 1776453074,
"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": 88,
"language": "de",
"parked": false,
"app": {
"id": 62,
"steam_id": 33930,
"name": "Arma 2: Operation Arrowhead",
"url": "arma-2-operation-arrowhead"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/5750266");
$data = json_decode($json, true);
var_dump($data);