Valheim
Hosted by XLGAMES.PRO के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10522370json
{
"response": {
"steam_id": "90281878449703939",
"domain": null,
"id": 10522370,
"ip": "185.207.214.77",
"port": 2463,
"query": 2464,
"color": 0,
"city": "Moscow",
"description": null,
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1773545569,
"score": 0,
"last_online": 1776295848,
"icon": null,
"name": "Hosted by XLGAMES.PRO",
"connect": "185.207.214.77:2463",
"request": "185.207.214.77:2464",
"map": "Hosted by XLGAMES.PRO",
"gamemode": null,
"version": "0.221.12",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1761429614,
"last_update": 1776295848,
"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": 3402,
"language": "ru",
"parked": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10522370");
$data = json_decode($json, true);
var_dump($data);