Project Zomboid
OnlyNaughtyInside için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11267128json
{
"response": {
"steam_id": "90283937794974745",
"domain": null,
"id": 11267128,
"ip": "37.60.230.72",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Lauterbourg",
"description": "Server hosted by Snack with LinuxGSM for Onigoroshi $300 he paid for fisting",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774900329,
"score": 0,
"last_online": 1776802228,
"icon": null,
"name": "OnlyNaughtyInside",
"connect": "37.60.230.72:16261",
"request": "37.60.230.72:16261",
"map": "AZSpawn;pz_rosewoodexp_map;Grap",
"gamemode": "Project Zomboid",
"version": "41.78.18",
"numplayers": 0,
"maxplayers": 13,
"bots": 0,
"secured": false,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555496,
"last_update": 1776802228,
"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": 2463,
"language": "fr",
"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/11267128");
$data = json_decode($json, true);
var_dump($data);