API dla ! The Alamo Texas Monthly
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 94,
"fps_avg": 98,
"entities_count": 116506,
"world_seed": 206131560,
"world_size": 4500,
"steam_id": "90286625948745744",
"domain": null,
"id": 686541,
"ip": "23.94.102.82",
"port": 28036,
"query": 28039,
"color": 0,
"city": "Dallas",
"description": "\nThe Alamo Texas Monthly a Volten Gaming Server \r\n Server specific rules and information. \r\n Monthly map \r\n Blueprint Facepunch schedule \r\n Active staff members. \r\n Online since April 2022. \r\n Volten Gaming rules are available on our website.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780665029,
"icon": null,
"name": "! The Alamo Texas Monthly",
"connect": "23.94.102.82:28036",
"request": "23.94.102.82:28039",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1670760398,
"last_update": 1780665029,
"banned": false,
"wipe": 1780598077,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2157,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/686541");
$data = json_decode($json, true);
var_dump($data);