Squad 44
API pentru [7AD] el-Alamein Match Server - www.7tharmoured.com
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/1108685json
{
"response": {
"steam_id": "90284547787484165",
"domain": null,
"id": 1108685,
"ip": "85.10.211.231",
"port": 10057,
"query": 10077,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 736220,
"owner": null,
"boosts": 1,
"last_offline": 1776056470,
"score": null,
"last_online": 1776412300,
"icon": null,
"name": "[7AD] el-Alamein Match Server - www.7tharmoured.com",
"connect": "85.10.211.231:10057",
"request": "85.10.211.231:10077",
"map": "Veghel Offensive Random 01",
"gamemode": "Offensive, Tournament",
"version": "v2.6.1.566911",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1688790478,
"last_update": 1776412300,
"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": 4,
"language": "de",
"parked": false,
"app": {
"id": 19973,
"steam_id": 736220,
"name": "Squad 44",
"url": "squad-44"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/1108685");
$data = json_decode($json, true);
var_dump($data);