Arma 3
API pentru Corrupted Infantry Antistasi
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11327507json
{
"response": {
"steam_id": "90284043488559115",
"domain": null,
"id": 11327507,
"ip": "85.10.196.25",
"port": 27046,
"query": 27047,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1774594191,
"score": 0,
"last_online": 1776480734,
"icon": null,
"name": "Corrupted Infantry Antistasi",
"connect": "85.10.196.25:27046",
"request": "85.10.196.25:27047",
"map": "Stratis",
"gamemode": "Zeus 48+2 Master Stratis",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774594191,
"last_update": 1776480734,
"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": 2607,
"language": "de",
"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/11327507");
$data = json_decode($json, true);
var_dump($data);