API dla Rusticles 5x 5Man 21/05 [PvP|TP|Loot+]
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286427122896921",
"domain": null,
"id": 9846448,
"ip": "185.38.148.149",
"port": 28025,
"query": 28026,
"color": 0,
"city": "City of London",
"description": "![Rusticles 5x 5Man 21/05 [PvP|TP|Loot+]](https://i.gyazo.com/65f92918b6526f8ddc096c59783dc6f7.png)\nWelcome to Rusticles 5x Modded, server wipes every second Thursday at 2pm EST (7pm BST).\r\n\r\n- 5 Man Clan Limit both online & offline\r\n- English in chat only\r\n- No Racism or Nazism\r\n- Griefing not allowed\r\n- 50% Upkeep rate\r\nCheck our website/discord for full list of rules\r\n\r\nServer map wipes every week at Friday 20:00 CEST \r\n\r\nA community server with a stable staff team, no playing admins & almost 24/7 support. We aim to provide smooth gameplay, in-game help & of course a lag free experience.\r\nServer is running on a full dedicated I9 9900k, 64GB DDR4 3466Mhz & an Evo SSD M.2.\r\n\r\nWorkbenches works within toolcupboard range. \r\n\r\nWebsite : https://rusticles.tip4serv.com\r\nSteam Group : RusticlesServer\r\nDiscord : discord.me/rusticles\r\n\r\nAll Rust Servers at https://just-wiped.net/rust_servers",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780591411,
"last_online": 1780229438,
"icon": null,
"name": "Rusticles 5x 5Man 21/05 [PvP|TP|Loot+]",
"connect": "185.38.148.149:28025",
"request": "185.38.148.149:28026",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1753203057,
"last_update": 1780591411,
"banned": false,
"wipe": 1779385618,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10444,
"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/9846448");
$data = json_decode($json, true);
var_dump($data);