Trusty Rust UK DUO için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 68514,
"world_seed": 672035695,
"world_size": 3500,
"steam_id": "90286580209128461",
"domain": null,
"id": 11606701,
"ip": "185.36.205.224",
"port": 28155,
"query": 28156,
"color": 0,
"city": "London",
"description": "\nWelcome to Trusty Rust UK Duo! \r\n \r\n This server is designed for people who have a job and want to get away from toxic clans. \r\n \r\n * Map and BPs wiped MONTHLY \r\n * Solo/Duo ONLY \r\n * NO Teaming \r\n * 50% upkeep \r\n * Offline raid protection \r\n * No Harassment or toxic comments in chat \r\n * English only in chat \r\n * Cheaters and A-holes will be banned",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780542269,
"last_online": 1780604435,
"icon": null,
"name": "Trusty Rust UK DUO",
"connect": "185.36.205.224:28155",
"request": "185.36.205.224:28156",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915479,
"last_update": 1780604435,
"banned": false,
"wipe": 1778612059,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5106,
"language": "en",
"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/11606701");
$data = json_decode($json, true);
var_dump($data);