Project Zomboid
[RU]Lamp server PZ[PvE] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6201023json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6201023,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"heqrc8k3p\",\"type\":\"paragraph\",\"data\":{\"text\":\"120 городов на одной карте. Куча новых машин и механник. ~260 модов. https://discord.gg/XtfhVCp6Um\"}}]",
"game": 108600,
"owner": 124,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1738091428,
"icon": null,
"name": "[RU]Lamp server PZ[PvE]",
"connect": null,
"request": null,
"map": "vehicle_interior;Fort Knox link",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1728413139,
"last_update": 1750457066,
"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": 5746,
"language": "ru",
"parked": true,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": {
"username": "Vidok57",
"avatar": "no.jpg",
"last_online": 1764514979
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6201023");
$data = json_decode($json, true);
var_dump($data);