DayZ
Lost Way | Stalker DayZ RP için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10655281json
{
"response": {
"steam_id": "90284410547294237",
"domain": null,
"id": 10655281,
"ip": "195.18.27.184",
"port": 2309,
"query": 2310,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776024736,
"score": 0,
"last_online": 1776267675,
"icon": null,
"name": "Lost Way | Stalker DayZ RP",
"connect": "195.18.27.184:2309",
"request": "195.18.27.184:2310",
"map": "NHChernobyl",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1763736667,
"last_update": 1776267675,
"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": 2167,
"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/10655281");
$data = json_decode($json, true);
var_dump($data);