Rust
MarvHub x2 Trio Medium Test için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11435521json
{
"response": {
"fps": 65,
"fps_avg": 65,
"entities_count": 95645,
"world_seed": 1150953633,
"world_size": 4250,
"steam_id": "90283840742775822",
"domain": null,
"id": 11435521,
"ip": "145.14.27.25",
"port": 25577,
"query": 25579,
"color": 0,
"city": "Tallinn",
"description": "\n| Bi-Weekly Wipes (incl. BPs) | Map 4250 | Max Team 3 |\r\n | x2 loot (tweaked) | 3–5x stacks | 50% decay |\r\n Rules:\r\n • No hacking/scripting\r\n • No bug abuse\r\n • No alt/ban evading\r\n • No racism\r\n • No ads\r\n • No spam\r\n • English chat only\r\n • Respect staff, staff have final say\r\n QoL:\r\n • Furnace Splitter/Faster Furnaces\r\n • Faster Recycler\r\n • Unburnable Food\r\n • Bigger Stacks\r\n • Clean UI\r\n No P2W bullshit from us!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775157732,
"score": 0,
"last_online": 1776207616,
"icon": null,
"name": "MarvHub x2 Trio Medium Test",
"connect": "145.14.27.25:25577",
"request": "145.14.27.25:25579",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "EE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977192,
"last_update": 1776207616,
"banned": false,
"wipe": 1775157602,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5587,
"language": "et",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11435521");
$data = json_decode($json, true);
var_dump($data);