Supraball
UDK Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11219668json
{
"response": {
"steam_id": "90282064857282561",
"domain": null,
"id": 11219668,
"ip": "87.121.93.64",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Melbourne",
"description": null,
"game": 321400,
"owner": null,
"boosts": 1,
"last_offline": 1776388967,
"score": 0,
"last_online": 1776356492,
"icon": null,
"name": "UDK Server",
"connect": "87.121.93.64:7777",
"request": "87.121.93.64:27015",
"map": "db-cave",
"gamemode": "DBGame",
"version": "0.2.10",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772701889,
"last_update": 1776388967,
"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": 1,
"language": "en",
"parked": false,
"app": {
"id": 165,
"steam_id": 321400,
"name": "Supraball",
"url": "supraball"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11219668");
$data = json_decode($json, true);
var_dump($data);