Rust
UKN.GG - US Training Grounds - Main için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6126158json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 9099,
"world_seed": 1337,
"world_size": 6000,
"steam_id": 90284732315893780,
"domain": null,
"id": 6126158,
"ip": "64.40.8.152",
"port": 28014,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nThe best server to train your aim and gameplay!\n\n- FFA\n- Scrims\n- Arenas\n- Gungame \n- Targets\n- Aimbots\n\nUKN Store @ UKN.GG/Store\nUKN Discord @ UKN.GG/Discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776358367,
"score": 0,
"last_online": 1776825014,
"icon": null,
"name": "UKN.GG - US Training Grounds - Main",
"connect": "64.40.8.152:28014",
"request": "64.40.8.152:28015",
"map": "UKN Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 308,
"maxplayers": 325,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 131,
"add_date": 1727883660,
"last_update": 1776825014,
"banned": false,
"wipe": 1776765502,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 33,
"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/6126158");
$data = json_decode($json, true);
var_dump($data);