Unknown package
API pentru MDZGA Vanilla+ PVE | PVP Inland | Trader Sitnik
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11429722json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11429722,
"ip": "134.255.214.190",
"port": 17219,
"query": 14403,
"color": 0,
"city": "Clifton",
"description": null,
"game": 0,
"owner": null,
"boosts": 1,
"last_offline": 1776588200,
"score": 0,
"last_online": 1776813629,
"icon": null,
"name": "MDZGA Vanilla+ PVE | PVP Inland | Trader Sitnik",
"connect": "134.255.214.190:17219",
"request": "134.255.214.190:14403",
"map": "dayzOffline.enoch",
"gamemode": "DayZ",
"version": "1.29.162494",
"numplayers": 5,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 44,
"add_date": 1774674938,
"last_update": 1776813629,
"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": 1237,
"language": "en",
"parked": false,
"app": {
"id": 119,
"steam_id": 0,
"name": "Unknown package",
"url": "unknown-package"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11429722");
$data = json_decode($json, true);
var_dump($data);