Projeto Zomboid ADAMANTINA için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286827588753413",
"domain": null,
"id": 11537108,
"ip": "72.62.108.90",
"port": 16261,
"query": 16261,
"project_id": null,
"color": 0,
"city": "São Paulo",
"description": "Servidor Projeto Zomboid ADAMANTINA",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780120366,
"last_online": 1781128234,
"icon": null,
"name": "Projeto Zomboid ADAMANTINA",
"connect": "72.62.108.90:16261",
"request": "72.62.108.90:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.19",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779355322,
"last_update": 1781128234,
"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": 2190,
"language": "pt",
"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/11537108");
$data = json_decode($json, true);
var_dump($data);