| REDLINE SBL | के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8639769,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": null,
"game": 4000,
"owner": 116947,
"boosts": 1,
"last_offline": 1756334708,
"last_online": 1753567835,
"icon": null,
"name": "| REDLINE SBL |",
"connect": null,
"request": null,
"map": "gm_redline_sbl",
"gamemode": "Sandbox",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1745228042,
"last_update": 1756334708,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 5886,
"language": "de",
"parked": true,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "nikitanomochevskiy",
"avatar": "3fd5fceb-88b4-4107-acab-be9ef7369aac.jpg"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/8639769");
$data = json_decode($json, true);
var_dump($data);