A Fallout themed playthrough के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286760348564483",
"domain": null,
"id": 11649319,
"ip": "78.21.36.89",
"port": 16261,
"query": 16261,
"project_id": null,
"color": 0,
"city": "Ghent",
"description": "B41 - 40 years later - come colonize the world - 5% sprinters - medium population - 2 hour days - PVE oriented",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780877652,
"last_online": 1781139628,
"icon": null,
"name": "A Fallout themed playthrough",
"connect": "78.21.36.89:16261",
"request": "78.21.36.89:16261",
"map": "vehicle_interior;MC Connector W",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "BE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177679,
"last_update": 1781139628,
"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": 2621,
"language": "nl",
"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/11649319");
$data = json_decode($json, true);
var_dump($data);