Arma 3
API pentru � [ OFFICIAL ] Arma 3 GM Zeus by Bohemia Interactive (EU) #B
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/629378json
{
"response": {
"steam_id": "90284185177530392",
"domain": null,
"id": 629378,
"ip": "85.190.148.61",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1769607691,
"score": null,
"last_online": 1776501101,
"icon": null,
"name": "� [ OFFICIAL ] Arma 3 GM Zeus by Bohemia Interactive (EU) #B",
"connect": "85.190.148.61:2402",
"request": "85.190.148.61:2403",
"map": "gm_weferlingen_summer",
"gamemode": "Zeus 16+1 Master Weferlingen (East)",
"version": "2.20.153649",
"numplayers": 0,
"maxplayers": 17,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669652385,
"last_update": 1776501101,
"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": 325,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/629378");
$data = json_decode($json, true);
var_dump($data);