Arma 3
API pentru 501st Legion Starsim | Server #10 | Liberation
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11070235json
{
"response": {
"steam_id": "90284527695396875",
"domain": null,
"id": 11070235,
"ip": "199.33.118.6",
"port": 5102,
"query": 5103,
"color": 0,
"city": "Hillsboro",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776147116,
"score": 0,
"last_online": 1776483643,
"icon": null,
"name": "501st Legion Starsim | Server #10 | Liberation",
"connect": "199.33.118.6:5102",
"request": "199.33.118.6:5103",
"map": "Altis",
"gamemode": "-= Liberation RX =-",
"version": "2.20.152939",
"numplayers": 0,
"maxplayers": 22,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769972663,
"last_update": 1776483643,
"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": 2234,
"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/11070235");
$data = json_decode($json, true);
var_dump($data);