Terminus Rising के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286546644507663",
"domain": null,
"id": 11692003,
"ip": "162.120.0.34",
"port": 9045,
"query": 9046,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780225013,
"last_online": 1780551117,
"icon": null,
"name": "Terminus Rising",
"connect": "162.120.0.34:9045",
"request": "162.120.0.34:9046",
"map": "VRisingWorld",
"gamemode": "5c55de11-27f3-4336-8826-022b357e39ae",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780225013,
"last_update": 1780551117,
"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": 3725,
"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/11692003");
$data = json_decode($json, true);
var_dump($data);