API dla [EU] CORE - Beta | Weekly | playcore.gg | EN/DE/PT/ESP/FR/PL/IT
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 235,
"fps_avg": 234,
"entities_count": 56024,
"world_seed": 1877911820,
"world_size": 3250,
"steam_id": "90286603969945613",
"domain": null,
"id": 11644776,
"ip": "51.195.97.152",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Limburg an der Lahn",
"description": "![[EU] CORE - Beta | Weekly | playcore.gg | EN/DE/PT/ESP/FR/PL/IT](https://playcore.gg/images/banner.png)\nModded Rust done right. More than Vanilla. More than just 2x. Zero chat commands, no VIP, no kits, no shortcuts to win - skills, perks, and quests, all earned, never bought. Multi-language support (some still in beta). Check the vision: playcore.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780177435,
"last_online": 1780629028,
"icon": null,
"name": "[EU] CORE - Beta | Weekly | playcore.gg | EN/DE/PT/ESP/FR/PL/IT",
"connect": "51.195.97.152:28015",
"request": "51.195.97.152:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177435,
"last_update": 1780629028,
"banned": false,
"wipe": 1780596225,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5302,
"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/11644776");
$data = json_decode($json, true);
var_dump($data);