No Allan's Club için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 76,
"fps_avg": 76,
"entities_count": 86695,
"world_seed": 2023061090,
"world_size": 4000,
"steam_id": "90286748367566879",
"domain": null,
"id": 10622920,
"ip": "66.51.99.77",
"port": 28010,
"query": 28011,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to our Rust server!\r\n\r\nRules:\r\n• No cheating or hacking\r\n• Respect all players\r\n• No offensive language\r\n\r\nHave fun and survive!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778985732,
"last_online": 1780930235,
"icon": null,
"name": "No Allan's Club",
"connect": "66.51.99.77:28010",
"request": "66.51.99.77:28011",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1763330655,
"last_update": 1780930235,
"banned": false,
"wipe": 1780657898,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4045,
"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/10622920");
$data = json_decode($json, true);
var_dump($data);