[PvE] Coolghouls World için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 48,
"fps_avg": 49,
"entities_count": 203285,
"world_seed": 1837967084,
"world_size": 6000,
"steam_id": "90286596308823069",
"domain": null,
"id": 11189831,
"ip": "66.51.96.70",
"port": 28030,
"query": 28031,
"color": 0,
"city": "Ashburn",
"description": "![[PvE] Coolghouls World](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nHosted By Pine Hosting \r\n - Powerful Systems\r\n - /recycler.craft\r\n - /where tp = teleport to your dead body\r\n - /otp > Teleport to Outpost\r\n - /btp > Teleport to Bandit Camp\r\n - /ttc > Cancel active teleport timer\r\n - /xpstats = skill tree panel\r\n - /fr = Virtual Furnace",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778250788,
"last_online": 1780588831,
"icon": null,
"name": "[PvE] Coolghouls World",
"connect": "66.51.96.70:28030",
"request": "66.51.96.70:28031",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699042,
"last_update": 1780588831,
"banned": false,
"wipe": 1778250421,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4336,
"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/11189831");
$data = json_decode($json, true);
var_dump($data);