Rust
RustyJoe için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10290749json
{
"response": {
"fps": 97,
"fps_avg": 95,
"entities_count": 96816,
"world_seed": 268057099,
"world_size": 3500,
"steam_id": "90284796915131413",
"domain": null,
"id": 10290749,
"ip": "139.84.236.109",
"port": 28016,
"query": 28017,
"color": 0,
"city": "Johannesburg",
"description": "Discord: https://discord.gg/pjxAfvGX66\r\n3X Gather Rate\r\nBetter Loot\r\nBack Packs\r\nRemove\r\nLootBouncer\r\n3 Minute Crate Timers\r\nand More",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776830599,
"score": 0,
"last_online": 1776877222,
"icon": null,
"name": "RustyJoe",
"connect": "139.84.236.109:28016",
"request": "139.84.236.109:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 6,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1757407140,
"last_update": 1776877222,
"banned": false,
"wipe": 1775157789,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1543,
"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/10290749");
$data = json_decode($json, true);
var_dump($data);