Arma 3
API pentru � [ OFFICIAL ] Arma 3 Warlords by Bohemia Interactive (EU) #01
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/629648json
{
"response": {
"steam_id": "90284549542158353",
"domain": null,
"id": 629648,
"ip": "85.190.148.54",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775658130,
"score": null,
"last_online": 1776447034,
"icon": null,
"name": "� [ OFFICIAL ] Arma 3 Warlords by Bohemia Interactive (EU) #01",
"connect": "85.190.148.54:2302",
"request": "85.190.148.54:2303",
"map": "Altis",
"gamemode": "Warlords",
"version": "2.20.153649",
"numplayers": 10,
"maxplayers": 56,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1669652484,
"last_update": 1776447034,
"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": 106,
"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/629648");
$data = json_decode($json, true);
var_dump($data);