Project Zomboid
API pentru Open World Servers | 98+ Mods | Long-term | PVP/PVE | Hardcore
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/9903283json
{
"response": {
"steam_id": "90284748661849116",
"domain": null,
"id": 9903283,
"ip": "88.211.219.19",
"port": 17456,
"query": 17456,
"color": 0,
"city": "Haarlem",
"description": "Server hosted by OWS https://discord.gg/UR8VNp8aJ4",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776291112,
"score": 0,
"last_online": 1776801626,
"icon": null,
"name": "Open World Servers | 98+ Mods | Long-term | PVP/PVE | Hardcore",
"connect": "88.211.219.19:17456",
"request": "88.211.219.19:17456",
"map": "Orbis Alius",
"gamemode": "Project Zomboid",
"version": "41.78.18",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1753905604,
"last_update": 1776801626,
"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": 496,
"language": "nl",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/9903283");
$data = json_decode($json, true);
var_dump($data);