Project Zomboid
Zill Rapids için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11098236json
{
"response": {
"steam_id": "90281424022219804",
"domain": null,
"id": 11098236,
"ip": "173.0.158.124",
"port": 26930,
"query": 26930,
"color": 0,
"city": "Dallas",
"description": "Welcome to the MOST DIFFICULT ZILL SERVER EVER !!!!",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774156927,
"score": 0,
"last_online": 1776802825,
"icon": null,
"name": "Zill Rapids",
"connect": "173.0.158.124:26930",
"request": "173.0.158.124:26930",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.13",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770028996,
"last_update": 1776802825,
"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": 1763,
"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/11098236");
$data = json_decode($json, true);
var_dump($data);