[RU] AFTERLIFE [PVE\PVP] के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286307256785935",
"domain": null,
"id": 11619752,
"ip": "65.109.113.121",
"port": 16260,
"query": 16260,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780270396,
"last_online": 1779955230,
"icon": null,
"name": "[RU] AFTERLIFE [PVE\\PVP]",
"connect": "65.109.113.121:16260",
"request": "65.109.113.121:16260",
"map": "AshenwoodNewB42;Brink;Bunker 12",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915999,
"last_update": 1780270396,
"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": 10215,
"language": "fi",
"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/11619752");
$data = json_decode($json, true);
var_dump($data);