US Two - Test Server atm - US One Main Server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 169,
"fps_avg": 178,
"entities_count": 61194,
"world_seed": 481981,
"world_size": 3250,
"steam_id": "90286444659295253",
"domain": null,
"id": 11260940,
"ip": "162.216.115.124",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Secaucus",
"description": "\nWhat does WIB mean ( Where is Bob )\r\n\r\nDo have Events that change time to time\r\nThere are QOL plugins make things little easier.\r\nMostly have custom maps for each wipe, will be default if Server owner out of town.\r\nClick External Website to join Discord for more info.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780235049,
"last_online": 1780606235,
"icon": null,
"name": "US Two - Test Server atm - US One Main Server",
"connect": "162.216.115.124:28080",
"request": "162.216.115.124:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555212,
"last_update": 1780606235,
"banned": false,
"wipe": 1778245454,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4301,
"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/11260940");
$data = json_decode($json, true);
var_dump($data);