Official H2o Legacy (Europe) के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286819852897286",
"domain": null,
"id": 11588472,
"ip": "82.66.68.181",
"port": 8566,
"query": 8565,
"project_id": null,
"color": 0,
"city": "Villejuif",
"description": null,
"game": 377140,
"owner": null,
"boosts": 1,
"last_offline": 1780470421,
"last_online": 1781086986,
"icon": null,
"name": "Official H2o Legacy (Europe)",
"connect": "82.66.68.181:8566",
"request": "82.66.68.181:8565",
"map": "survival",
"gamemode": "H2o - Server Browser",
"version": "0.10.11.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779357810,
"last_update": 1781086986,
"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": 2,
"language": "fr",
"parked": false,
"app": {
"id": 6609,
"steam_id": 377140,
"name": "Hide & Hold Out - H2o",
"url": "hide-hold-out-h2o"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11588472");
$data = json_decode($json, true);
var_dump($data);