Project Zomboid
days end için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5914244json
{
"response": {
"steam_id": "90285598860700694",
"domain": null,
"id": 5914244,
"ip": "5.62.127.100",
"port": 10460,
"query": 10460,
"color": 0,
"city": "Poplar",
"description": "will you have what it take to make it or become another one lost",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774812728,
"score": 0,
"last_online": 1778524222,
"icon": null,
"name": "days end",
"connect": "5.62.127.100:10460",
"request": "5.62.127.100:10460",
"map": "vehicle_interior;Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1726077901,
"last_update": 1778524222,
"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": 212,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5914244");
$data = json_decode($json, true);
var_dump($data);