Blame the Bird के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286826639459334",
"domain": null,
"id": 10418658,
"ip": "45.85.250.96",
"port": 37100,
"query": 37115,
"project_id": null,
"color": 0,
"city": "Portsmouth",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1773961919,
"last_online": 1781122846,
"icon": null,
"name": "Blame the Bird",
"connect": "45.85.250.96:37100",
"request": "45.85.250.96:37115",
"map": "VRisingWorld",
"gamemode": "0bca9951-879e-455e-93e2-52cc89c36663",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1759825482,
"last_update": 1781122846,
"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": 86,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10418658");
$data = json_decode($json, true);
var_dump($data);