Project Zomboid
[FR][EU] KFZ - Kentucky Fried Zombies için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10763658json
{
"response": {
"steam_id": "90284562685270040",
"domain": null,
"id": 10763658,
"ip": "85.190.149.226",
"port": 10040,
"query": 10040,
"color": 0,
"city": "Poplar",
"description": "hosted by nitrado.net",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775490129,
"score": 0,
"last_online": 1776461422,
"icon": null,
"name": "[FR][EU] KFZ - Kentucky Fried Zombies",
"connect": "85.190.149.226:10040",
"request": "85.190.149.226:10040",
"map": "Muldraugh, KY;",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766260928,
"last_update": 1776461422,
"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": 1184,
"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/10763658");
$data = json_decode($json, true);
var_dump($data);