API dla [6/4] Vanilla Rust | Noobs Welcome | Monthly | 4.5k map
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 41,
"fps_avg": 43,
"entities_count": 117244,
"world_seed": 995523042,
"world_size": 4500,
"steam_id": "90286604907995145",
"domain": null,
"id": 569245,
"ip": "170.249.220.170",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Atlanta",
"description": "![[6/4] Vanilla Rust | Noobs Welcome | Monthly | 4.5k map](https://i0.wp.com/invisioncommunity.co.uk/wp-content/uploads/2020/04/Facepunch-Studios-is-proud-to-announce-that-Rust.jpg?w=1000&ssl=1)\nWelcome to Polygon Gaming!\r\n\r\nPlease read our server rules on the Discord\r\n\r\nWipe Info:\r\nLast Map Wipe: 11/06\r\nLast BP Wipe: 11/06\r\n\r\nNext Map Wipe: 12/04\r\nNext BP Wipe: 12/04\r\n\r\nServer Info:\r\nVanilla server, with Active Admins\r\nMap Size: 4.5k\r\nMonthly Map Wipe\r\nMonthly BP Wipe\r\nDiscord Server: https://discord.gg/JqgMZFh\r\nWebsite URL: https://polygongaming.com\r\n\r\nServer hosted at Polygon Hosting.\r\nURL: https://polygonhosting.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780605035,
"icon": null,
"name": "[6/4] Vanilla Rust | Noobs Welcome | Monthly | 4.5k map",
"connect": "170.249.220.170:28015",
"request": "170.249.220.170:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1668891895,
"last_update": 1780605035,
"banned": false,
"wipe": 1780598332,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3010,
"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/569245");
$data = json_decode($json, true);
var_dump($data);