Arma Reforger
API pentru [RU] #6 | ARMA-RUSSIAN.RU | RUSSIAN SERVER | VANILLA HQC EVERON
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11143065json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11143065,
"ip": "37.48.253.41",
"port": 17776,
"query": 17776,
"color": 0,
"city": "Moscow",
"description": null,
"game": 1874880,
"owner": null,
"boosts": 1,
"last_offline": 1771196805,
"score": 3,
"last_online": 1776249033,
"icon": null,
"name": "[RU] #6 | ARMA-RUSSIAN.RU | RUSSIAN SERVER | VANILLA HQC EVERON",
"connect": "37.48.253.41:17776",
"request": "37.48.253.41:17776",
"map": "#AR-Campaign_HQC_ScenarioName_Everon",
"gamemode": "Arma Reforger",
"version": "1.6.0.119",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1771196805,
"last_update": 1776249033,
"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": 31,
"language": "ru",
"parked": false,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11143065");
$data = json_decode($json, true);
var_dump($data);