Arma 3
API pentru 5th Elite Corps
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/4817866json
{
"response": {
"steam_id": "90284572112782344",
"domain": null,
"id": 4817866,
"ip": "167.160.93.163",
"port": 2306,
"query": 2307,
"color": 0,
"city": "New York",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776302512,
"score": 0,
"last_online": 1776481890,
"icon": null,
"name": "5th Elite Corps",
"connect": "167.160.93.163:2306",
"request": "167.160.93.163:2307",
"map": "Stratis",
"gamemode": "Carida Training Facility",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1718922760,
"last_update": 1776481890,
"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": 741,
"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/4817866");
$data = json_decode($json, true);
var_dump($data);