Arma 3
API pentru USASOC 75thRanger [FR]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/1451321json
{
"response": {
"steam_id": "90284374459863062",
"domain": null,
"id": 1451321,
"ip": "46.4.103.189",
"port": 2311,
"query": 2312,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776202915,
"score": null,
"last_online": 1776456666,
"icon": null,
"name": "USASOC 75thRanger [FR]",
"connect": "46.4.103.189:2311",
"request": "46.4.103.189:2312",
"map": "cfb_moosehead",
"gamemode": "Fort Benning",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 49,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697305939,
"last_update": 1776456666,
"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": 731,
"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/1451321");
$data = json_decode($json, true);
var_dump($data);