API dla Fur Rust [AU]
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 101919,
"world_seed": 2595110,
"world_size": 4200,
"steam_id": "90287016608517151",
"domain": null,
"id": 11801016,
"ip": "51.161.198.101",
"port": 28020,
"query": 28021,
"project_id": null,
"color": 0,
"city": "North Sydney",
"description": "![Fur Rust [AU]](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nFurry friendly & LGBTQ+ safe Rust server based in Australia, and available for Linux users to join and play.\r\n\r\nhttps://fur-rust.carrd.co\r\n\r\nModded Vanilla:\r\n- Backpack Slots\r\n- Auto Doors\r\n- Vehicle Claim\r\n- Kits\r\n- XP Leveling\r\n- Sign Artist\r\n- Night Lantern\r\n- Quick Sort\r\n- Skip Night Vote",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781463045,
"last_online": 1781501424,
"icon": null,
"name": "Fur Rust [AU]",
"connect": "51.161.198.101:28020",
"request": "51.161.198.101:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": false,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781463045,
"last_update": 1781501424,
"banned": false,
"wipe": 1780616325,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6272,
"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/11801016");
$data = json_decode($json, true);
var_dump($data);