Transilvania Saborosa 2 temp के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286553852084251",
"domain": null,
"id": 11692005,
"ip": "45.146.81.171",
"port": 25672,
"query": 25677,
"color": 0,
"city": "Cotia",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780237450,
"last_online": 1780560043,
"icon": null,
"name": "Transilvania Saborosa 2 temp",
"connect": "45.146.81.171:25672",
"request": "45.146.81.171:25677",
"map": "VRisingWorld",
"gamemode": "5750e25e-cdc7-4c37-a158-2bb6f4258042",
"version": "0.0.0.1",
"numplayers": 2,
"maxplayers": 28,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1780225013,
"last_update": 1780560043,
"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": 116,
"language": "pt",
"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/11692005");
$data = json_decode($json, true);
var_dump($data);