Rust
Rustopia.gg - EU Main için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/7920578json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 177775,
"world_seed": 3049,
"world_size": 4250,
"steam_id": 90284725775879170,
"domain": null,
"id": 7920578,
"ip": "176.118.33.2",
"port": 28015,
"query": 28010,
"color": 0,
"city": "Poplar",
"description": "\nMap Wipe - Weekly\r\nBPs Wipe - Monthly\r\n\r\nSkip the Queue | Visit Shop.Rustopia.gg\r\n\r\nJoin our community to get updates, support, giveaways, and more at Discord.gg/Rustopia\r\n\r\nOur server rules can be found at Rustopia.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1773545564,
"score": 1,
"last_online": 1776817216,
"icon": null,
"name": "Rustopia.gg - EU Main",
"connect": "176.118.33.2:28015",
"request": "176.118.33.2:28010",
"map": "Rustopia Mapping",
"gamemode": "Survival",
"version": "2623",
"numplayers": 20,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1740791913,
"last_update": 1776817216,
"banned": false,
"wipe": 1776347877,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 864,
"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/7920578");
$data = json_decode($json, true);
var_dump($data);