Project Zomboid
FullPvP Server PZ 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/10694841json
{
"response": {
"steam_id": "90284111473527818",
"domain": null,
"id": 10694841,
"ip": "188.235.1.245",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Voronezh",
"description": "Hardcore server PVP",
"game": 108600,
"owner": 133759,
"boosts": 1,
"last_offline": 1775689326,
"score": 5,
"last_online": 1775700611,
"icon": null,
"name": "FullPvP Server PZ",
"connect": "188.235.1.245:16261",
"request": "188.235.1.245:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 2,
"points": 92,
"add_date": 1764834307,
"last_update": 1775700611,
"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": 10,
"language": "ru",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": {
"username": "Lyka_Ftor",
"avatar": "bc8f02af-a667-42d7-9b71-950467172293.jpg",
"last_online": 1775578405
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10694841");
$data = json_decode($json, true);
var_dump($data);