Rust
API pentru Rust North | 3x Trio | PvPvE | PvP Raidable Bases | Monthly
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11260913json
{
"response": {
"fps": 65,
"fps_avg": 68,
"entities_count": 76832,
"world_seed": 2071559536,
"world_size": 3750,
"steam_id": "90285467435097091",
"domain": null,
"id": 11260913,
"ip": "51.222.254.161",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Montreal",
"description": "Survive the North.\r\n\r\n• PvPvE World – build and farm safely\r\n• PvP Raidable Bases – fight players for high-tier loot\r\n• 3x Gather | 3x Components\r\n• 50% Decay Cheaper\r\n• Solo / Duo / Trio\r\n• Starter / Daily Kits\r\n• Custom Events & Progression\r\n• Wandering NPC Bots\r\n• Active Admins | Growing Community\r\n\r\nEnter raids at your own risk.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778596336,
"score": 0,
"last_online": 1778519423,
"icon": null,
"name": "Rust North | 3x Trio | PvPvE | PvP Raidable Bases | Monthly",
"connect": "51.222.254.161:28005",
"request": "51.222.254.161:28006",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2624",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774555211,
"last_update": 1778596336,
"banned": false,
"wipe": 1778178037,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7482,
"language": "en",
"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/11260913");
$data = json_decode($json, true);
var_dump($data);