API dla [EU] Corroded Paradise PvE|Raid Bases|Events|Bosses
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 48,
"fps_avg": 46,
"entities_count": 119887,
"world_seed": 1401636288,
"world_size": 4500,
"steam_id": "90286604933791775",
"domain": null,
"id": 1397971,
"ip": "168.100.161.211",
"port": 28015,
"query": 28013,
"color": 0,
"city": "London",
"description": "![[EU] Corroded Paradise PvE|Raid Bases|Events|Bosses](https://cdn.discordapp.com/attachments/563416097965998082/585914674990678017/CP1.png)\nWelcome to Corroded Paradise!\r\n\r\nWe are a PvE server with Private NPC bases you can raid and tiered monument bot difficulty.\r\n\r\n|Features|\r\nServer Wipes every 2 weeks.\r\nPurge (PVP) happens 24hrs before wipe.\r\nCustom Heli and Bradley Tiers.\r\nWater Bases.\r\nMany plugins to make your experience more enjoyable.\r\n\r\nMods\r\n- Private and Public Raidable Bases.\r\n- NPC Bosses.\r\n- Custom NPCs at monuments.\r\n- Backpack.\r\n- Shop\r\n- Kits\r\n- Teleports\r\n- Personal Vehicles\r\n- SkillTree\r\n- Furnace Splitter.\r\n- Player Challenges.\r\n- No fuel Lanterns\\Lamps.\r\n- Player Ranks\r\n- Many more.\r\n\r\nThanks for playing! Hope you enjoy the server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780608023,
"icon": null,
"name": "[EU] Corroded Paradise PvE|Raid Bases|Events|Bosses",
"connect": "168.100.161.211:28015",
"request": "168.100.161.211:28013",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 20,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1696081596,
"last_update": 1780608023,
"banned": false,
"wipe": 1780598362,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 663,
"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/1397971");
$data = json_decode($json, true);
var_dump($data);