Grim Dawn Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286474747827224",
"domain": null,
"id": 11716291,
"ip": "37.112.221.191",
"port": 42805,
"query": 27016,
"color": 0,
"city": "Samara",
"description": null,
"game": 219990,
"owner": null,
"boosts": 1,
"last_offline": 1780607007,
"last_online": 1780314016,
"icon": null,
"name": "Grim Dawn Server",
"connect": "37.112.221.191:42805",
"request": "37.112.221.191:27016",
"map": "levels/world001.map",
"gamemode": "Grim Dawn",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780301823,
"last_update": 1780607007,
"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": 253,
"language": "ru",
"parked": false,
"app": {
"id": 101,
"steam_id": 219990,
"name": "Grim Dawn",
"url": "grim-dawn"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11716291");
$data = json_decode($json, true);
var_dump($data);