Rust
Rustafied.com - SEA Medium için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10871248json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 193782,
"world_seed": 439423450,
"world_size": 4000,
"steam_id": "90284757827672086",
"domain": null,
"id": 10871248,
"ip": "45.124.213.18",
"port": 28015,
"query": 28018,
"color": 0,
"city": "Singapore",
"description": "\nBiweekly map wipe @ 15:00 Singapore Time (unless forced wipe) \r\n\r\n - Player portal: https://my.rustafied.com (server info, map voting, banlist, and more) \r\n - Store: https://rustafied.com/store \r\n - Support: https://rustafied.com/support \r\n - Discord: https://discord.gg/rustafied \r\n\r\n Forced wipe: First Friday @ 2AM SGT (wipes all blueprints)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776787403,
"score": 0,
"last_online": 1776849015,
"icon": null,
"name": "Rustafied.com - SEA Medium",
"connect": "45.124.213.18:28015",
"request": "45.124.213.18:28018",
"map": "Rustafied Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 35,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1768318546,
"last_update": 1776849015,
"banned": false,
"wipe": 1776322846,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 496,
"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/10871248");
$data = json_decode($json, true);
var_dump($data);