Rust
API pentru RustPulse.gg - EU 2x Solo/duo/trio |Tp|Home|Kits|Wipe 09.04
Oferim o gamă largă de metode de integrare. Puteți utiliza oricare dintre ele sau puteți crea propria metodă folosind JSON API. Dacă aveți o propunere pentru adăugarea unei noi metode de integrare, vă rugăm să ne contactați. Contactați-ne
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11158336json
{
"response": {
"modded": true,
"fps": 194,
"fps_avg": 193,
"entities_count": 80136,
"world_seed": 557952103,
"world_size": 3750,
"steam_id": "90284212214741023",
"domain": null,
"id": 11158336,
"ip": "57.128.210.53",
"port": 28068,
"query": 28069,
"color": 0,
"city": "Warsaw",
"description": "\nWelcome to RustPulse.gg - EU 2x Solo/Duo/Trio\r\n Max team size: 3 players (No alliances)\r\n Rates: 2x Gather | 1x Components | Faster progression\r\n Commands: /tp | /home | /kits\r\n Active non-playing admins\r\n No cheating, exploiting or scripting\r\n No racism, toxicity or harassment\r\n Respect team limit - breaking rules = ban\r\n Regular wipes and stable performance\r\n Have fun and good luck on RustPulse.gg!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775887319,
"score": 0,
"last_online": 1775899215,
"icon": null,
"name": "RustPulse.gg - EU 2x Solo/duo/trio |Tp|Home|Kits|Wipe 09.04",
"connect": "57.128.210.53:28068",
"request": "57.128.210.53:28069",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1772228108,
"last_update": 1775899215,
"banned": false,
"wipe": 1775729049,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2562,
"language": "pl",
"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/11158336");
$data = json_decode($json, true);
var_dump($data);