RustyJoe için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 100,
"fps_avg": 98,
"entities_count": 79494,
"world_seed": 1181202822,
"world_size": 3500,
"steam_id": "90286725592851477",
"domain": null,
"id": 10290749,
"ip": "139.84.236.109",
"port": 28016,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Johannesburg",
"description": "Discord: https://discord.gg/pjxAfvGX66\r\n3X Gather Rate\r\nBetter Loot\r\nBack Packs\r\nRemove\r\nLootBouncer\r\n3 Minute Crate Timers\r\nand More",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602866,
"last_online": 1780885235,
"icon": null,
"name": "RustyJoe",
"connect": "139.84.236.109:28016",
"request": "139.84.236.109:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1757407140,
"last_update": 1780885235,
"banned": false,
"wipe": 1780603056,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3544,
"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/10290749");
$data = json_decode($json, true);
var_dump($data);