API dla SILENT HORIZON | Trader Disabled | Basic Nostalgia | No Mods | Vanilla Loot | 3PP On
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11697320,
"ip": "193.233.83.128",
"port": 35704,
"query": 14244,
"color": 0,
"city": "Vilnius",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780226652,
"last_online": 1780544421,
"icon": null,
"name": "SILENT HORIZON | Trader Disabled | Basic Nostalgia | No Mods | Vanilla Loot | 3PP On",
"connect": "193.233.83.128:35704",
"request": "193.233.83.128:14244",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 116,
"maxplayers": 200,
"bots": 116,
"secured": true,
"private": false,
"country": "LT",
"status": true,
"votes": 0,
"points": 82,
"add_date": 1780226652,
"last_update": 1780544421,
"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": 2076,
"language": "lt",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11697320");
$data = json_decode($json, true);
var_dump($data);