API dla MistyWisp [EU] Solo/Duo | Vanilla | Monthly Wipe
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 192,
"fps_avg": 194,
"entities_count": 111606,
"world_seed": 1264470043,
"world_size": 4500,
"steam_id": "90286603884621836",
"domain": null,
"id": 10870517,
"ip": "162.19.90.167",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Gravelines",
"description": "![MistyWisp [EU] Solo/Duo | Vanilla | Monthly Wipe](https://mistywisp.com/assets/banner-512x256.png)\nVanilla Rust EU. Max 2 per team. Monthly map wipes synced with Facepunch. Blueprints persist. Base Radar live at mistywisp.com/map. Discord: discord.gg/sJzJxUUC",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780605029,
"icon": null,
"name": "MistyWisp [EU] Solo/Duo | Vanilla | Monthly Wipe",
"connect": "162.19.90.167:28015",
"request": "162.19.90.167:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 8,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1768318424,
"last_update": 1780605029,
"banned": false,
"wipe": 1780595594,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1901,
"language": "fr",
"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/10870517");
$data = json_decode($json, true);
var_dump($data);