Rust by G-Portal.com के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 70237,
"world_seed": 2147483647,
"world_size": 3500,
"steam_id": "90286376682030092",
"domain": null,
"id": 10533291,
"ip": "147.93.162.6",
"port": 28615,
"query": 28616,
"color": 0,
"city": "Lauterbourg",
"description": "![[EU/GER] German Rustkneipe | Anfängerfreundlich | Solo/Duo | L](https://i.ibb.co/h1cKQnS/EUGER-German-Rustkneipe-berbeitet.png)\n[EU/GER] German Rustkneipe\r\nAnfängerfreundlich | Solo/Duo | Low Upkeep | Weekly | Beginnerfriendly\r\n\r\nRegeln:\r\n§1:Chatsprache: Deutsch / English\r\n§2: Hacking, Bugusing und Rassimus wird mit Ban bestraft\r\n§3: Basen dürfen nicht übernommen werden! (mit Ausnahme von Raid-Basen)\r\nNach dem Raid, ist die Base unbedingt wieder freizugeben!\r\n§4: Admins helfen (wenn möglich) durch Abriss- und Bauhilfen\r\n\r\nChat Commands:\r\n/players - shows online player list UI\r\n/sleepers - shows sleeping player list UI\r\n/onlinehud (on/off) turns on/off online player HUD\r\n/pop - Online Spieler\r\n/rules - Regeln\r\n\r\nDiscord Server:\r\nhttps://discord.gg/WTsaKAwt7k",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780608209,
"last_online": 1780093227,
"icon": null,
"name": "Rust by G-Portal.com",
"connect": "147.93.162.6:28615",
"request": "147.93.162.6:28616",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1762518574,
"last_update": 1780608209,
"banned": false,
"wipe": 1778175899,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10044,
"language": "fr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10533291");
$data = json_decode($json, true);
var_dump($data);