Rust
API pentru
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11435302json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11435302,
"ip": "79.50.235.222",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Corinaldo",
"description": "![[EU] Rust Italia - Monthly | PVP | Solo/Duo/Trio](https://i.postimg.cc/TPxSXbsg/rust-italia-ban.png)\nWelcome to Rust Italia — a competitive PVP server with a clean, fair and respectful community.\r\n\r\nRULES & FEATURES:\r\n- BP Team Sharing\r\n- Max 3 players per team\r\n- Decay starts 48h after the last TC member logs off the server\r\n- No Grief Base\r\n- Monthly wipe (every first Thursday of the month at 19:30 CET)\r\n- Last wipe: April 02, 2026\r\n- Next wipe will be: May 07, 2026\r\n\r\nRAID WINDOW (Rome Time):\r\n- Every day: 10:00-02:00\r\nBases are protected outside these hours!\r\n\r\nPlay hard. Play fair. Welcome to Rust Italia.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776846753,
"score": 0,
"last_online": 1776294017,
"icon": null,
"name": null,
"connect": null,
"request": "79.50.235.222:28017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "IT",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977184,
"last_update": 1776846753,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9419,
"language": "it",
"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/11435302");
$data = json_decode($json, true);
var_dump($data);