Rust
EU FunServer x10000000000|PVP|BATTLEFIELD|SKINS|KITS|TP|MYMINI| için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/3964724json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 159822,
"world_seed": 1337,
"world_size": 3100,
"steam_id": "90284390347120668",
"domain": null,
"id": 3964724,
"ip": "205.178.168.194",
"port": 28015,
"query": 28016,
"color": 0,
"city": "London",
"description": "\nhttps://funserver.gg\r\n--------------------------\r\ndiscord.gg/funserver\r\n--------------------------\r\nAll of the information (such as rules, wipe schedule, etc) can be found in-game with /info !",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": 0,
"last_online": 1776295810,
"icon": null,
"name": "EU FunServer x10000000000|PVP|BATTLEFIELD|SKINS|KITS|TP|MYMINI|",
"connect": "205.178.168.194:28015",
"request": "205.178.168.194:28016",
"map": "FunServer.gg",
"gamemode": "Survival",
"version": "2623",
"numplayers": 63,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1714044954,
"last_update": 1776295810,
"banned": false,
"wipe": 1775843849,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 203,
"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/3964724");
$data = json_decode($json, true);
var_dump($data);