API pentru [EU] Protobit: No Offline | Shared BPs | Max 4 | Linux Friendly
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286388928202757",
"domain": null,
"id": 8682028,
"ip": "78.46.45.124",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Falkenstein",
"description": "![[EU] Protobit: No Offline | Shared BPs | Max 4 | Linux Friendly](https://cdn.protobit.space/images/bannerbit.png)\nBiweekly Map Wipes (BP Wipes @ Force) | 1x Gather / 3x Stack / 25% Upkeep\r\n\r\n• Offline Raid Protection using playtime\r\n• Mediumcore Tech Tree (Higher tax, researching remains 1x) w/ Shared BPs\r\n• Max roam & Team UI size of 4 (Clan system for allies)\r\n• Windows, Linux / Steam Deck, and MacOS supported\r\n• Active and proper moderation for chat and against cheaters\r\n• Full info at rust.protobit.space\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nBattleMetrics Server Tag: rs01$80cia2?0rAi400Ao8",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780117415,
"last_online": 1780182624,
"icon": null,
"name": "[EU] Protobit: No Offline | Shared BPs | Max 4 | Linux Friendly",
"connect": "78.46.45.124:28015",
"request": "78.46.45.124:28017",
"map": "Modified Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 4,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1745560237,
"last_update": 1780182624,
"banned": false,
"wipe": 1779389516,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1631,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8682028");
$data = json_decode($json, true);
var_dump($data);