DayZ Experimental
API pentru Experimental PvP | BB+ | Loot+ | Full Cars
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11181608json
{
"response": {
"steam_id": "90285146116527108",
"domain": null,
"id": 11181608,
"ip": "185.245.96.29",
"port": 2302,
"query": 20159,
"color": 0,
"city": "Gifhorn",
"description": null,
"game": 1024020,
"owner": null,
"boosts": 1,
"last_offline": 1773545567,
"score": 0,
"last_online": 1777516833,
"icon": null,
"name": "Experimental PvP | BB+ | Loot+ | Full Cars",
"connect": "185.245.96.29:2302",
"request": "185.245.96.29:20159",
"map": "chernarusplus",
"gamemode": "Experimental PvP | BB+ | Loot+ | Full Cars | No Stamina | No Mo",
"version": "1.29.162270",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1772229761,
"last_update": 1777516833,
"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": 10,
"language": "de",
"parked": false,
"app": {
"id": 54695,
"steam_id": 1024020,
"name": "DayZ Experimental",
"url": "dayz-experimental"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11181608");
$data = json_decode($json, true);
var_dump($data);