UK Rusty Badge - SuperSmall/Weekly için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 79,
"fps_avg": 79,
"entities_count": 22903,
"world_seed": 753619016,
"world_size": 2300,
"steam_id": "90286581220366363",
"domain": null,
"id": 6691056,
"ip": "217.155.23.28",
"port": 28005,
"query": 28007,
"color": 0,
"city": "Rochdale",
"description": "\nRusty Badge - Server for noobs and casual player. \r\n50% Decay rate. \r\nNoob/Chill/Casual \r\nJoin the Discord: https://discord.gg/Txhs9AagX",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780038222,
"last_online": 1780572032,
"icon": null,
"name": "UK Rusty Badge - SuperSmall/Weekly",
"connect": "217.155.23.28:28005",
"request": "217.155.23.28:28007",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1732060623,
"last_update": 1780572032,
"banned": false,
"wipe": 1778180784,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2801,
"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/6691056");
$data = json_decode($json, true);
var_dump($data);