A Rust Staging Server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 35,
"fps_avg": 35,
"entities_count": 115682,
"world_seed": 18373,
"world_size": 4500,
"steam_id": "90286432304089102",
"domain": null,
"id": 11602179,
"ip": "104.234.156.100",
"port": 25019,
"query": 25021,
"color": 0,
"city": "Franklin",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780211630,
"last_online": 1780267303,
"icon": null,
"name": "A Rust Staging Server",
"connect": "104.234.156.100:25019",
"request": "104.234.156.100:25021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779359241,
"last_update": 1780267303,
"banned": false,
"wipe": 1780000381,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9794,
"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/11602179");
$data = json_decode($json, true);
var_dump($data);