API dla [US] Kovex Rust┃2x Fridays
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 81961,
"world_seed": 1337,
"world_size": 3750,
"steam_id": 90286596522532880,
"domain": null,
"id": 11639167,
"ip": "45.88.228.165",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Dallas",
"description": "![[US] Kovex Rust┃2x Fridays](https://i.gyazo.com/9e670405df44cdc6ea6861ebfd2004bd.png)\nKovex Rust — a smooth 2x experience with active staff and top tier custom plugins and custom map.\n\n》 2x Gather Rate\n》 2x Crafting, Recycler & Smelting\n》 Custom RustMaps Map\n》 VIP Kits\n》 Queue Bypass for VIP+\n》 Active Admin Team\n\n• Map Wipes: Every Friday at 12 PST or 3 EST\n• BP Wipes: Never\n\nDiscord & info: kovexrust.net\nVIP & store: kovexrust.net/shop",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779917955,
"last_online": 1780617635,
"icon": null,
"name": "[US] Kovex Rust┃2x Fridays",
"connect": "45.88.228.165:28015",
"request": "45.88.228.165:28014",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779917955,
"last_update": 1780617635,
"banned": false,
"wipe": 1780081408,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5547,
"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/11639167");
$data = json_decode($json, true);
var_dump($data);