API dla MAGIC WORLD #1 - Long | EU East
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 38,
"fps_avg": 35,
"entities_count": 226988,
"world_seed": 4092641754,
"world_size": 4500,
"steam_id": "90286576278811657",
"domain": null,
"id": 11501997,
"ip": "212.22.93.15",
"port": 28024,
"query": 28025,
"color": 0,
"city": "Moscow",
"description": "\nINFO:\r\n\r\nWipe: Monthly on Thursday 19PM CET (21PM MSK), or when forced.\r\nBP Wipe: Monthly\r\nHigh Pop: 300 players\r\nMap size: 4500\r\n\r\nBONUSES FOR PLAYING ON THE SERVER EVERY HOUR.\r\n\r\nLINKS\r\nStore: https://magic-world.gamestores.app\r\nDiscord: https://discord.com/invite/pTC2eeSRQT"",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596798,
"last_online": 1780542028,
"icon": null,
"name": "MAGIC WORLD #1 - Long | EU East",
"connect": "212.22.93.15:28024",
"request": "212.22.93.15:28025",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207187,
"last_update": 1780596798,
"banned": false,
"wipe": 1778185297,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11138,
"language": "ru",
"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/11501997");
$data = json_decode($json, true);
var_dump($data);