API dla [Dedicated] BL Escalation | PvE | Rotation | Blakus'
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286536596322310",
"domain": null,
"id": 11638228,
"ip": "144.76.179.36",
"port": 7777,
"query": 7778,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 2168680,
"owner": null,
"boosts": 1,
"last_offline": 1780438997,
"last_online": 1780575166,
"icon": null,
"name": "[Dedicated] BL Escalation | PvE | Rotation | Blakus'",
"connect": "144.76.179.36:7777",
"request": "144.76.179.36:7778",
"map": "Heartland | Altercation Co-op a",
"gamemode": "Nuclear Option Server",
"version": "0.33.3_com.nikkorap.blueprinter-v1.8.19_--bote-v1.3.6_--kar-v1.1.0",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779917215,
"last_update": 1780575166,
"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": 62,
"language": "de",
"parked": false,
"app": {
"id": 1615382,
"steam_id": 2168680,
"name": "Nuclear Option",
"url": "nuclear-option"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11638228");
$data = json_decode($json, true);
var_dump($data);