Project Zomboid
API для FR/EU [PVE / PVP] - Les Survivants de Knox - B41.78.19
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10662265json
{
"response": {
"steam_id": "90285618550091789",
"domain": null,
"id": 10662265,
"ip": "217.154.0.198",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Courbevoie",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1777622597,
"score": 0,
"last_online": 1778553108,
"icon": null,
"name": "FR/EU [PVE / PVP] - Les Survivants de Knox - B41.78.19",
"connect": "217.154.0.198:16261",
"request": "217.154.0.198:16261",
"map": "vehicle_interior;SecretZ_Core;S",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764544966,
"last_update": 1778553108,
"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": 2581,
"language": "fr",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10662265");
$data = json_decode($json, true);
var_dump($data);