Project Zomboid
Akina için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11191745json
{
"response": {
"steam_id": "90283516725452823",
"domain": null,
"id": 11191745,
"ip": "135.148.151.161",
"port": 60402,
"query": 60402,
"color": 0,
"city": "Warrenton",
"description": "Welcome to the End",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774128674,
"score": 0,
"last_online": 1776796823,
"icon": null,
"name": "Akina",
"connect": "135.148.151.161:60402",
"request": "135.148.151.161:60402",
"map": "map_distanciado;Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.15",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699189,
"last_update": 1776796823,
"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": 2354,
"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/11191745");
$data = json_decode($json, true);
var_dump($data);