API pentru OSTOJA OCALONYCH | PvE/ZONEPvP | TRADER | DNA | KEYCARD| BUNKIE
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286025388640274",
"domain": null,
"id": 11602325,
"ip": "77.252.229.230",
"port": 2302,
"query": 27016,
"color": 0,
"city": "Bobrowiec",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779387776,
"last_online": 1779360664,
"icon": null,
"name": "OSTOJA OCALONYCH | PvE/ZONEPvP | TRADER | DNA | KEYCARD| BUNKIE",
"connect": "77.252.229.230:2302",
"request": "77.252.229.230:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779359267,
"last_update": 1779387776,
"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": 7698,
"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/11602325");
$data = json_decode($json, true);
var_dump($data);