Rust
My Untitled Rust Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5942032json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 12550,
"world_seed": 1,
"world_size": 2000,
"steam_id": "90283777953560595",
"domain": null,
"id": 5942032,
"ip": "156.236.84.62",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Dallas",
"description": "\nFor the Dead Homies!\r\n Please join our Discord to read the rules and stay up to date on any changes and for wipe schedule!\r\n Weekend Raids ONLY\r\n Team Limit 6\r\n NO PAY TO WIN\r\n 2x Resources\r\n Simple Mods List\r\n More Events",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194330,
"score": 0,
"last_online": 1776510623,
"icon": null,
"name": "My Untitled Rust Server",
"connect": "156.236.84.62:28000",
"request": "156.236.84.62:28001",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1726346858,
"last_update": 1776510623,
"banned": false,
"wipe": 1774044397,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3367,
"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/5942032");
$data = json_decode($json, true);
var_dump($data);