Project Zomboid
Frelius için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11190724json
{
"response": {
"steam_id": "90284725827964942",
"domain": null,
"id": 11190724,
"ip": "5.83.172.12",
"port": 10250,
"query": 10250,
"color": 0,
"city": "Frankfurt am Main",
"description": "Deiner Mum",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1772699150,
"score": 0,
"last_online": 1776802827,
"icon": null,
"name": "Frelius",
"connect": "5.83.172.12:10250",
"request": "5.83.172.12:10250",
"map": "map_distanciado;rvupdate;Muldra",
"gamemode": "Project Zomboid",
"version": "42.17",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699150,
"last_update": 1776802827,
"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": 2201,
"language": "de",
"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/11190724");
$data = json_decode($json, true);
var_dump($data);