DayZ
API pentru NOVICHOK | 1PP | MORE LOOT | PVP | WIPE 8/04
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11150204json
{
"response": {
"steam_id": "90284735813781514",
"domain": null,
"id": 11150204,
"ip": "91.232.167.147",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Wawrzeńczyce",
"description": "This is a Vanilla++ Server with more loot and few mods like vpp map, stamina+, autorun, earplug, do",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775834528,
"score": 0,
"last_online": 1776781222,
"icon": null,
"name": "NOVICHOK | 1PP | MORE LOOT | PVP | WIPE 8/04",
"connect": "91.232.167.147:2302",
"request": "91.232.167.147:2303",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772227772,
"last_update": 1776781222,
"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": 1103,
"language": "pl",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11150204");
$data = json_decode($json, true);
var_dump($data);