Arma Reforger
API pentru [RU] #4 | ARMA-RUSSIAN.RU | RUSSIAN SERVER | NATO-RU | DRONES
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10973477json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10973477,
"ip": "37.48.253.91",
"port": 17774,
"query": 17774,
"color": 0,
"city": "Moscow",
"description": null,
"game": 1874880,
"owner": 164169,
"boosts": 1,
"last_offline": 1776350026,
"score": 1,
"last_online": 1776780009,
"icon": null,
"name": "[RU] #4 | ARMA-RUSSIAN.RU | RUSSIAN SERVER | NATO-RU | DRONES",
"connect": "37.48.253.91:17774",
"request": "37.48.253.91:17774",
"map": "Линия фронта | NATO vs RU",
"gamemode": "Arma Reforger",
"version": "1.6.0.119",
"numplayers": 125,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 147,
"add_date": 1769734978,
"last_update": 1776780009,
"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": 3,
"language": "ru",
"parked": false,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": {
"username": "bad_c_ck",
"avatar": "0a1cfcfa-b04b-4cf1-90ff-716f945bc19c.jpg",
"last_online": 1773881547
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10973477");
$data = json_decode($json, true);
var_dump($data);