[UK] Cozmos PvE | Skill Tree için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 104050,
"world_seed": 256978413,
"world_size": 3600,
"steam_id": "90286603913544728",
"domain": null,
"id": 5755716,
"ip": "156.236.84.195",
"port": 28080,
"query": 28081,
"color": 0,
"city": "City of London",
"description": "![[UK] Cozmos PvE | Skill Tree](https://i.postimg.cc/k5fgrbbn/cozmos-pve2023.png)\nWiped on 4th June\r\n\r\nSkill Tree\r\nMore wildlife\r\nHostile bots at monuments\r\n\r\n- Longer days, short nights\r\n- Skill Tree system\r\n- Small Backpack\r\n\r\nClick External Website to join the Discord\r\n Blueprint wipe with monthly force wipe",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780607427,
"icon": null,
"name": "[UK] Cozmos PvE | Skill Tree",
"connect": "156.236.84.195:28080",
"request": "156.236.84.195:28081",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 5,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1724092107,
"last_update": 1780607427,
"banned": false,
"wipe": 1780595963,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1517,
"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/5755716");
$data = json_decode($json, true);
var_dump($data);