ECHO के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286225006971913",
"domain": null,
"id": 11587792,
"ip": "144.91.79.7",
"port": 28000,
"query": 28015,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 541300,
"owner": null,
"boosts": 1,
"last_offline": 1779357493,
"last_online": 1779909019,
"icon": null,
"name": "ECHO",
"connect": "144.91.79.7:28000",
"request": "144.91.79.7:28015",
"map": "Black_Island",
"gamemode": "Survive The Nights",
"version": "1.3.0.0",
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1779357493,
"last_update": 1779909019,
"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": 4,
"language": "fr",
"parked": false,
"app": {
"id": 12556,
"steam_id": 541300,
"name": "Survive the Nights",
"url": "survive-the-nights"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11587792");
$data = json_decode($json, true);
var_dump($data);