Arma 3
API pentru 27IR | Invade & Annex: Altis | Newbie Friendly!
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10416487json
{
"response": {
"steam_id": "90285617024181264",
"domain": null,
"id": 10416487,
"ip": "64.20.51.156",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1778436183,
"score": 0,
"last_online": 1778536231,
"icon": null,
"name": "27IR | Invade & Annex: Altis | Newbie Friendly!",
"connect": "64.20.51.156:2302",
"request": "64.20.51.156:2303",
"map": "Altis",
"gamemode": "INVADE & ANNEX | 27IR V1.1",
"version": "2.20.152984",
"numplayers": 5,
"maxplayers": 70,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1759825263,
"last_update": 1778536231,
"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": 99,
"language": "en",
"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/10416487");
$data = json_decode($json, true);
var_dump($data);