Private Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286649157817364",
"domain": null,
"id": 11660249,
"ip": "92.204.170.249",
"port": 20365,
"query": 20366,
"project_id": null,
"color": 0,
"city": "Strasbourg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780694051,
"last_online": 1780738905,
"icon": null,
"name": "Private Server",
"connect": "92.204.170.249:20365",
"request": "92.204.170.249:20366",
"map": "VRisingWorld",
"gamemode": "1cd4562d-2e1c-4c5f-9885-33c1f3e5293f",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780178452,
"last_update": 1780738905,
"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": 3138,
"language": "fr",
"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/11660249");
$data = json_decode($json, true);
var_dump($data);