DayZ
[RU] Grotesk Stalker PVE NH 4| https://discord.gg/P7NQfqMWRq için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9107478json
{
"response": {
"steam_id": "90284403863937024",
"domain": null,
"id": 9107478,
"ip": "80.242.59.98",
"port": 2302,
"query": 2312,
"color": 0,
"city": "Veliky Novgorod",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776217312,
"score": 0,
"last_online": 1776266423,
"icon": null,
"name": "[RU] Grotesk Stalker PVE NH 4| https://discord.gg/P7NQfqMWRq",
"connect": "80.242.59.98:2302",
"request": "80.242.59.98:2312",
"map": "NHChernobyl",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 2,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1747140537,
"last_update": 1776266423,
"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": 1851,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/9107478");
$data = json_decode($json, true);
var_dump($data);