Rust
API pentru |EU| The Purgue PVE | Active admins | No Raid | No Decay | No R
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11189070json
{
"response": {
"fps": 162,
"fps_avg": 156,
"entities_count": 85533,
"world_seed": 987183078,
"world_size": 3500,
"steam_id": 90285135684640770,
"domain": null,
"id": 11189070,
"ip": "152.228.198.242",
"port": 28087,
"query": 28088,
"color": 0,
"city": "Roubaix",
"description": "THE BEST PVE ROLEPLAY COMMUNITY. SECURE YOUR LOCKS WELL. THEFTS WILL NOT BE RETURNED WITHOUT PROOF.. NO GRIFEOS. No se permiten alianzas masivas que rompan el balance Sobrevive. Construye. Pero juega limpio. Nos vemos en la isla. Discord: https://discord.gg/4yjvV7VqFc DONATE: https://www.paypal.com/donate/?hosted_button_id=PSL75TKTQFF3C,",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777489408,
"score": 0,
"last_online": 1777521018,
"icon": null,
"name": "|EU| The Purgue PVE | Active admins | No Raid | No Decay | No R",
"connect": "152.228.198.242:28087",
"request": "152.228.198.242:28088",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1772699030,
"last_update": 1777521018,
"banned": false,
"wipe": 1775153173,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1557,
"language": "fr",
"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/11189070");
$data = json_decode($json, true);
var_dump($data);