Oxs & Bucks - Main के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286449289339905",
"domain": null,
"id": 11622960,
"ip": "135.181.61.85",
"port": 2305,
"query": 2306,
"project_id": null,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780722807,
"last_online": 1780259425,
"icon": null,
"name": "Oxs & Bucks - Main",
"connect": "135.181.61.85:2305",
"request": "135.181.61.85:2306",
"map": "Altis",
"gamemode": "Battle of Gemmano 1944 part 2",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 43,
"bots": 0,
"secured": false,
"private": true,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916107,
"last_update": 1780722807,
"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": 4757,
"language": "fi",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11622960");
$data = json_decode($json, true);
var_dump($data);