Project Zomboid
[2.5 exp] [Loot and Zombie Respawn In-Game Monthly] için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11105140json
{
"response": {
"steam_id": 90284119142932500,
"domain": null,
"id": 11105140,
"ip": "170.23.112.129",
"port": 26940,
"query": 26940,
"color": 0,
"city": "San Jose",
"description": "[USA West Coast] PVE-Friendly Hmoob PZ [2.5 exp]",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775178727,
"score": 0,
"last_online": 1775710814,
"icon": null,
"name": "[2.5 exp] [Loot and Zombie Respawn In-Game Monthly]",
"connect": "170.23.112.129:26940",
"request": "170.23.112.129:26940",
"map": "map_distanciado;map_aquatsar;rv",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1770031169,
"last_update": 1775710814,
"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": 101,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11105140");
$data = json_decode($json, true);
var_dump($data);