Valheim
Mike's_Bar के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/6765882json
{
"response": {
"steam_id": "90284357362377735",
"domain": null,
"id": 6765882,
"ip": "66.235.168.133",
"port": 5800,
"query": 5801,
"color": 0,
"city": "Bend",
"description": null,
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1774697546,
"score": 0,
"last_online": 1776451307,
"icon": null,
"name": "Mike's_Bar",
"connect": "66.235.168.133:5800",
"request": "66.235.168.133:5801",
"map": "Mike's_Bar",
"gamemode": null,
"version": "0.219.14",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1732801907,
"last_update": 1776451307,
"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": 1532,
"language": "en",
"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/6765882");
$data = json_decode($json, true);
var_dump($data);