Arma 2: Operation Arrowhead
API pentru [Dawn Patrol] PVE Sauerland|BEST EPOCH|STARTER BASE KIT|CUSTOM
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/812054json
{
"response": {
"steam_id": "90284572891567127",
"domain": null,
"id": 812054,
"ip": "144.217.0.248",
"port": 6302,
"query": 6303,
"color": 0,
"city": "Beauharnois",
"description": "",
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1776331426,
"score": null,
"last_online": 1776453069,
"icon": null,
"name": "[Dawn Patrol] PVE Sauerland|BEST EPOCH|STARTER BASE KIT|CUSTOM",
"connect": "144.217.0.248:6302",
"request": "144.217.0.248:6303",
"map": "Sauerland",
"gamemode": "Dawn Patrol PVE Sauerland",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684357612,
"last_update": 1776453069,
"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": 67,
"language": "en",
"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/812054");
$data = json_decode($json, true);
var_dump($data);