API dla [US] Rusty Axe
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 77853,
"world_seed": 1818866787,
"world_size": 3500,
"steam_id": "90286065343570947",
"domain": null,
"id": 11305872,
"ip": "64.40.8.103",
"port": 28566,
"query": 28567,
"color": 0,
"city": "Dallas",
"description": "![[US] Rusty Axe](https://www.dropbox.com/scl/fi/2eoq9cmgf2xmtmputoipx/rust22.png?rlkey=agpgr337f9bcaivei4r72u4z3&st=p8fubzvh&dl=1)\nWelcome to [US] Rusty Axe \r\n Solo/Duo/Trio \r\n Plugins are /skin /remove /trade \r\n Posting Twitch links is not allowed and you will be BANNED for it \r\n Wipes when there's a update \r\n you can checkout the steam group for more info \r\n you can donate to help keep it running 24/7 the info is on the steam group \r\n don't Raid the Admin \r\n don't Cheat \r\n join my discord https://discord.gg/8VCf8WN",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779502413,
"last_online": 1780590634,
"icon": null,
"name": "[US] Rusty Axe",
"connect": "64.40.8.103:28566",
"request": "64.40.8.103:28567",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592903,
"last_update": 1780590634,
"banned": false,
"wipe": 1778190867,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4529,
"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/11305872");
$data = json_decode($json, true);
var_dump($data);