Rust
API pentru HOMIXIDE - EU | 10x | No BPs
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11491925json
{
"response": {
"fps": 45,
"fps_avg": 43,
"entities_count": 56407,
"world_seed": 1337,
"world_size": 3650,
"steam_id": "90285467208733712",
"domain": null,
"id": 11491925,
"ip": "31.57.151.132",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nThe most competitive, perfectly modded servers in rust. All modifications to the server are meant to promote player pvp interaction and quality of life. \r\n Twice Weekly Wipe: Monday/Saturday @ 18:00/13:00 GMT \r\n Kits & Vip: https://homixide.gamestores.app/ - 10x Gathering and Resources - No BPs & Instant Craft - Clans, Auth Share, Teleport - Everyone has access to BGrade, SkinBox, Auto Doors, Remove - Improved Loot & Faster Respawning Loot - Reduced HV Rocket PVP Damage \r\nJoin our Discord - https://discord.gg/cYqxMnaw6z /n gm.link/u192325",
"game": 252490,
"owner": 192325,
"boosts": 1,
"last_offline": 1778176387,
"score": 0,
"last_online": 1778181012,
"icon": null,
"name": "HOMIXIDE - EU | 10x | No BPs",
"connect": "31.57.151.132:28015",
"request": "31.57.151.132:28014",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2624",
"numplayers": 8,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1777737981,
"last_update": 1778181012,
"banned": false,
"wipe": 1778177340,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 298,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "respect",
"avatar": "83fde51a-6f21-4287-b5c2-ef153dd8ff7f.jpg",
"last_online": 1778177246
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11491925");
$data = json_decode($json, true);
var_dump($data);