KAOS EFFECT için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 137,
"fps_avg": 137,
"entities_count": 49441,
"world_seed": 18772,
"world_size": 3000,
"steam_id": "90286495356951575",
"domain": null,
"id": 11668667,
"ip": "72.9.154.60",
"port": 7053,
"query": 7054,
"color": 0,
"city": "Cape Coral",
"description": "Welcome to KAOS EFFECT's Rust server. This server is fresh and is in the process of adding mods including Raidable bases, skins and better loot. There maybe more potential mods added after everything has been fully configured.\r\n Please keep the gameplay clean enjoyable to all players. \r\n No sexual harassment or racial remarks will not be tolerated.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780559664,
"last_online": 1780558831,
"icon": null,
"name": "KAOS EFFECT",
"connect": "72.9.154.60:7053",
"request": "72.9.154.60:7054",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780180334,
"last_update": 1780559664,
"banned": false,
"wipe": 1778957482,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10389,
"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/11668667");
$data = json_decode($json, true);
var_dump($data);