Rust
Curfew | South Africa 10x PVP/PVE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11261232json
{
"response": {
"fps": 23,
"fps_avg": 22,
"entities_count": 79932,
"world_seed": 44501,
"world_size": 3500,
"steam_id": 90284793668806660,
"domain": null,
"id": 11261232,
"ip": "129.232.216.154",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Cape Town",
"description": "\nCurfew | Calm Before the Storm | 10x Modded | Bi-Weekly Wipes | PvE & PvP | Custom Raid Hours | Full Chaos! Build. Gather. Survive. When the curfew ends… the storm begins.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776826995,
"score": 0,
"last_online": 1776877362,
"icon": null,
"name": "Curfew | South Africa 10x PVP/PVE",
"connect": "129.232.216.154:28015",
"request": "129.232.216.154:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555228,
"last_update": 1776877362,
"banned": false,
"wipe": 1775155553,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5116,
"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/11261232");
$data = json_decode($json, true);
var_dump($data);