DayZ
Stoned and Afraid PVE - By Pingperfect.com - By Pingperfect.com için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/4099550json
{
"response": {
"steam_id": "90285250564290585",
"domain": null,
"id": 4099550,
"ip": "216.119.155.98",
"port": 2342,
"query": 2343,
"color": 0,
"city": "London",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1777447403,
"score": 0,
"last_online": 1777722633,
"icon": null,
"name": "Stoned and Afraid PVE - By Pingperfect.com - By Pingperfect.com",
"connect": "216.119.155.98:2342",
"request": "216.119.155.98:2343",
"map": "Pripyat",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 2,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1714657563,
"last_update": 1777722633,
"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": 1142,
"language": "en",
"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/4099550");
$data = json_decode($json, true);
var_dump($data);