Eine schrecklich nette Familie के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6604301,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 251570,
"owner": 91754,
"boosts": 1,
"last_offline": 1750457066,
"last_online": 1740160567,
"icon": null,
"name": "Eine schrecklich nette Familie",
"connect": null,
"request": null,
"map": "Vugore Valley",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1731326663,
"last_update": 1750457066,
"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": 9138,
"language": "de",
"parked": true,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": {
"username": "Steffen",
"avatar": "86b4f262-7705-42e2-b034-1f7af1f9c8a2.jpg"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/6604301");
$data = json_decode($json, true);
var_dump($data);