My Untitled Rust Server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 75802,
"world_seed": 1573025114,
"world_size": 3500,
"steam_id": "90286351381067789",
"domain": null,
"id": 10968737,
"ip": "66.51.96.54",
"port": 28020,
"query": 28021,
"color": 0,
"city": "Ashburn",
"description": "\nFTC Rust is a fair play Vanilla server focused on learning and keeping toxicity in check without ruining Rust. • 100% Vanilla (no pay to win) • Monthly map wipes • Active, fair admins • Cheating = instant ban Discord: https://discord.gg/6DK9ezhR",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602217,
"last_online": 1780090226,
"icon": null,
"name": "My Untitled Rust Server",
"connect": "66.51.96.54:28020",
"request": "66.51.96.54:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768755792,
"last_update": 1780602217,
"banned": false,
"wipe": 1778228468,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10236,
"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/10968737");
$data = json_decode($json, true);
var_dump($data);