API dla PrimeWipe EU | Vanilla | Solo/Duo | Just Wiped
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 185,
"fps_avg": 195,
"entities_count": 74306,
"world_seed": 1341079063,
"world_size": 3750,
"steam_id": "90286266981320719",
"domain": null,
"id": 11501319,
"ip": "203.16.163.59",
"port": 28132,
"query": 28133,
"color": 0,
"city": "Frankfurt am Main",
"description": "PrimeWipe [EU] - The Ultimate Vanilla Solo/Duo Experience\r\nGROUP LIMIT: STRICTLY 2 PLAYERS\r\n- No allies & no slaves & no exceptions.\r\n- Trading is allowed via shops/vending machines only.\r\nWIPE INFO:\r\n- Map wipes Bi-Weekly.\r\n- BPs wipe Monthly.\r\nJoin our Discord for support & updates: discord.gg/PrimeWipe",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780566816,
"last_online": 1779897025,
"icon": null,
"name": "PrimeWipe EU | Vanilla | Solo/Duo | Just Wiped",
"connect": "203.16.163.59:28132",
"request": "203.16.163.59:28133",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207170,
"last_update": 1780566816,
"banned": false,
"wipe": 1778774892,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11218,
"language": "de",
"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/11501319");
$data = json_decode($json, true);
var_dump($data);