API dla [PvE] Relic | No Killing | No Raiding | No Decay | Noob Friendl
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 272,
"fps_avg": 253,
"entities_count": 84064,
"world_seed": 1741857898,
"world_size": 4500,
"steam_id": "90286604404227079",
"domain": null,
"id": 11018172,
"ip": "66.51.99.117",
"port": 28017,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "![[PvE] Relic | No Killing | No Raiding | No Decay | Noob Friendl](https://static.relicpve.com/wp-content/uploads/relicmainback-min.jpg)\nRelic is a place to embrace your sense of adventure, build lasting friendships, and express your creativity. Come join us, our community is missing you!\r\n\r\nNo player or base damage\r\nNo decay or upkeep\r\n\r\n- A unique leveling system w/ perks\r\n- Custom auction house to buy/sell goods\r\n- Professions\r\n- Custom questing system\r\n- Epic/Legendary weapons & armor\r\n- Challenging NPCs & roaming bosses\r\n- Themed instances & 750+ bases to raid\r\n- Player stats w/ 100+ achievements",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596861,
"last_online": 1780600224,
"icon": null,
"name": "[PvE] Relic | No Killing | No Raiding | No Decay | Noob Friendl",
"connect": "66.51.99.117:28017",
"request": "66.51.99.117:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 115,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 78,
"add_date": 1769944475,
"last_update": 1780600224,
"banned": false,
"wipe": 1780597321,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 559,
"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/11018172");
$data = json_decode($json, true);
var_dump($data);