Project Zomboid
API pentru [PVE] Isekai Holiday: Castaway
Oferim o gamă largă de metode de integrare. Puteți utiliza oricare dintre ele sau puteți crea propria metodă folosind JSON API. Dacă aveți o propunere pentru adăugarea unei noi metode de integrare, vă rugăm să ne contactați. Contactați-ne
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10234354json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10234354,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 108600,
"owner": 117845,
"boosts": 1,
"last_offline": 1761066205,
"score": 0,
"last_online": 1758858024,
"icon": null,
"name": "[PVE] Isekai Holiday: Castaway",
"connect": null,
"request": null,
"map": "AZSpawn;vehicle_interior;LostPr",
"gamemode": "Project Zomboid",
"version": null,
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": false,
"private": true,
"country": "TH",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1756804864,
"last_update": 1761066205,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": true,
"hide_query": false,
"position_game": 9843,
"language": "th",
"parked": true,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": {
"username": "NatjananPhayungphongamiami",
"avatar": "d1a8c753-afcf-43b4-a309-4c18c9416634.jpg",
"last_online": 1774105092
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10234354");
$data = json_decode($json, true);
var_dump($data);