Project Zomboid
Task Force 92nd - PvPvE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11436845json
{
"response": {
"steam_id": 90284705959967760,
"domain": null,
"id": 11436845,
"ip": "45.146.252.188",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Münster",
"description": "+2 Trait Points/Bandits/4hr days/4x Faster Reading/2x Farming",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776845549,
"score": 0,
"last_online": 1776808820,
"icon": null,
"name": "Task Force 92nd - PvPvE",
"connect": "45.146.252.188:16261",
"request": "45.146.252.188:16261",
"map": "map_distanciado;rvupdate;rv2;ma",
"gamemode": "Project Zomboid",
"version": "42.17",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977291,
"last_update": 1776845549,
"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": 7113,
"language": "de",
"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.in/servers/11436845");
$data = json_decode($json, true);
var_dump($data);