EPS4Gaming | Survival | Server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 101,
"fps_avg": 93,
"entities_count": 165106,
"world_seed": 1764072198,
"world_size": 5500,
"steam_id": 90286611183474700,
"domain": null,
"id": 3089578,
"ip": "107.140.70.4",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Fairfield",
"description": "EPS4Gaming Rust Vanilla Survival Server\r\n\r\nQuality of Life Features:\r\n- Recyclers at Ranch, Barn and Fishing Villages\r\n- Clone and Tea Vending Machines at Fishing Villages\r\n\r\nServer restarts daily at 4:00 AM PST\r\nWipes on the first Thursday of each month\r\nBlueprints are never wiped\r\n\r\nType !help in chat for server commands and info",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780633825,
"icon": null,
"name": "EPS4Gaming | Survival | Server",
"connect": "107.140.70.4:28015",
"request": "107.140.70.4:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1708878895,
"last_update": 1780633825,
"banned": false,
"wipe": 1780597324,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1287,
"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/3089578");
$data = json_decode($json, true);
var_dump($data);