jointdokter के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286305760033801",
"domain": null,
"id": 11160651,
"ip": "144.91.79.7",
"port": 30500,
"query": 30501,
"project_id": null,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1780696408,
"last_online": 1779942785,
"icon": null,
"name": "jointdokter",
"connect": "144.91.79.7:30500",
"request": "144.91.79.7:30501",
"map": "jointdokter",
"gamemode": null,
"version": "0.221.12",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772228202,
"last_update": 1780696408,
"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": 10282,
"language": "fr",
"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/11160651");
$data = json_decode($json, true);
var_dump($data);