Falcon and Zombies के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286790286690327",
"domain": null,
"id": 11679592,
"ip": "69.164.251.155",
"port": 17200,
"query": 17200,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "B42, Dont get eaten!",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1781003073,
"last_online": 1781023829,
"icon": null,
"name": "Falcon and Zombies",
"connect": "69.164.251.155:17200",
"request": "69.164.251.155:17200",
"map": "Brandenburg, KY;Echo Creek, KY;",
"gamemode": "Project Zomboid",
"version": "42.19",
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1780216381,
"last_update": 1781023829,
"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": 180,
"language": "en",
"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/11679592");
$data = json_decode($json, true);
var_dump($data);