Project Zomboid
STW Snake için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11005386json
{
"response": {
"steam_id": "90285153862268935",
"domain": null,
"id": 11005386,
"ip": "57.128.251.20",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Warsaw",
"description": "ZAMKNIĘTE ROZKMINY.",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1777529607,
"score": 0,
"last_online": 1777601421,
"icon": null,
"name": "STW Snake",
"connect": "57.128.251.20:16261",
"request": "57.128.251.20:16261",
"map": "Muldraugh, KY;British ARRC Camp",
"gamemode": "Project Zomboid",
"version": "41.78.7",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": true,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769939148,
"last_update": 1777601421,
"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": 1430,
"language": "pl",
"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/11005386");
$data = json_decode($json, true);
var_dump($data);