7 Days to Die
7 Serreal Nights | Darkness Falls | 5.1.0 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5911460json
{
"response": {
"steam_id": "90283892293284887",
"domain": null,
"id": 5911460,
"ip": "76.242.160.16",
"port": 26900,
"query": 26900,
"color": 0,
"city": "Sanford",
"description": null,
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1775259086,
"score": 0,
"last_online": 1776489130,
"icon": null,
"name": "7 Serreal Nights | Darkness Falls | 5.1.0",
"connect": "76.242.160.16:26900",
"request": "76.242.160.16:26900",
"map": "DFalls-Large2-PEP",
"gamemode": "7 Days To Die",
"version": "Alpha.21.2.37",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1726054280,
"last_update": 1776489130,
"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": 784,
"language": "en",
"parked": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5911460");
$data = json_decode($json, true);
var_dump($data);