Ballistic
के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10733818json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10733818,
"ip": "136.248.68.132",
"port": 36964,
"query": 53741,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 580870,
"owner": 72058,
"boosts": 1,
"last_offline": 1776285071,
"score": 0,
"last_online": 1776091819,
"icon": null,
"name": null,
"connect": null,
"request": "136.248.68.132:53741",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": null,
"private": false,
"country": "BR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1765761845,
"last_update": 1776285071,
"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": 3,
"language": "pt",
"parked": false,
"app": {
"id": 14145,
"steam_id": 580870,
"name": "Ballistic",
"url": "ballistic"
},
"server_owner": {
"username": "mrc",
"avatar": "917c41a5-72b7-464d-a02f-1602a1894c3a.jpg",
"last_online": 1775581952
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10733818");
$data = json_decode($json, true);
var_dump($data);