API dla RustyRing Solo/Duo, Softcore, EU, 50% Decay
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 104,
"fps_avg": 106,
"entities_count": 67761,
"world_seed": 1502299062,
"world_size": 3500,
"steam_id": "90286604482036737",
"domain": null,
"id": 11252134,
"ip": "81.16.176.157",
"port": 7201,
"query": 7203,
"color": 0,
"city": "Solihull",
"description": "\nWelcome to RustyRing \r\n Monthly solo/duo \r\n Softcore mode \r\n Running a few Mods as follows \r\n 50% upkeep \r\n Better chat \r\n Building skins \r\n Plants dont die \r\n Starter Kits \r\n Monument Recyclers \r\n Player Challenges \r\n Spin Drop (to see dropped items)\r\n Daily gifts \r\n Dangerous Treasures Event \r\n There is also a server shop",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597413,
"last_online": 1780608035,
"icon": null,
"name": "RustyRing Solo/Duo, Softcore, EU, 50% Decay",
"connect": "81.16.176.157:7201",
"request": "81.16.176.157:7203",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2627",
"numplayers": 2,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1773301990,
"last_update": 1780608035,
"banned": false,
"wipe": 1780597455,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4238,
"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/11252134");
$data = json_decode($json, true);
var_dump($data);