DayZ
PERIMETER RP|STALKER|DayZ discord.gg/perimeter-rp için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/766495json
{
"response": {
"steam_id": "90285631741498381",
"domain": null,
"id": 766495,
"ip": "195.18.27.104",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1777367000,
"score": 3,
"last_online": 1778529030,
"icon": null,
"name": "PERIMETER RP|STALKER|DayZ discord.gg/perimeter-rp",
"connect": "195.18.27.104:2302",
"request": "195.18.27.104:2305",
"map": "ExclusionZone",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 15,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1680792847,
"last_update": 1778529030,
"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": 1060,
"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/766495");
$data = json_decode($json, true);
var_dump($data);