Project Zomboid
Zomboiderne için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10968163json
{
"response": {
"steam_id": "90284392144687114",
"domain": null,
"id": 10968163,
"ip": "80.161.149.131",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Kjellerup",
"description": "Banden",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776217915,
"score": 0,
"last_online": 1776308414,
"icon": null,
"name": "Zomboiderne",
"connect": "80.161.149.131:16261",
"request": "80.161.149.131:16261",
"map": "AZSpawn;FoxtrotWarehouse;Frogto",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "DK",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768755483,
"last_update": 1776308414,
"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": 1569,
"language": "da",
"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/10968163");
$data = json_decode($json, true);
var_dump($data);