API dla Gibberish Rust X MILLION 1000000000000X CLANS|TELE|SHOP|NoFUEL|
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 58341,
"world_seed": 1337,
"world_size": 3250,
"steam_id": "90286603783756805",
"domain": null,
"id": 8054386,
"ip": "83.147.29.10",
"port": 28015,
"query": 28017,
"color": 0,
"city": "City of London",
"description": "\nJoin Gibberish Rust XMILION X1000000\r\nYour favorite rust server!! (Even if you dont know it yet!)\r\n\r\nModded server, with active admins!\r\n- Mature, Active, Non-Playing Admin/Mod\r\n- Weekly Map Wipes (BP's are unlocked so they don't have to be wiped!)\r\n- Resource amounts are increased, also gathered and smelted instantly!\r\n- Lowered fall damage (VIPs have no fall damage at all)\r\n- Backpacks (Each VIP level has a higher limit!)\r\n- Bgrade command for everyone. Build your base in HQM from the start!\r\n- Instant Craft (No waiting to craft your ammo or C4)\r\n- Kits (Special kits per VIP rank)\r\n- Skinbox (Give yourself a nice kit)\r\n- NTeleportation (Each VIP level gets faster teleports)\r\n- Spend your GP(Gibberish Points) in the shop with the /shop command!\r\n- Spawn your own mini/tcop/attack heli (Each VIP level has lower cooldowns)\r\n\r\nFor everything else, be sure to check the /info menu in game.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nrs02glpaozJ}%nSc0002Q]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780626033,
"icon": null,
"name": "Gibberish Rust X MILLION 1000000000000X CLANS|TELE|SHOP|NoFUEL|",
"connect": "83.147.29.10:28015",
"request": "83.147.29.10:28017",
"map": "Gibberish Rust",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1741383883,
"last_update": 1780626033,
"banned": false,
"wipe": 1780595331,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3046,
"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/8054386");
$data = json_decode($json, true);
var_dump($data);