Dragon PvE - [5x|Bots|Events] için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 73,
"fps_avg": 76,
"entities_count": 179760,
"world_seed": 1212116624,
"world_size": 4500,
"steam_id": "90286551716626433",
"domain": null,
"id": 1204814,
"ip": "108.181.36.187",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Los Angeles",
"description": "Welcome to Dragon PvE.\r\n \r\n5x Resources 3x Components\r\n \r\nHome teleport, Personal minicopter and recycler, Monument bots, NPC raid bases, Automated events and much more\r\n \r\nJoin our discord for rules and support.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780481070,
"last_online": 1780565430,
"icon": null,
"name": "Dragon PvE - [5x|Bots|Events]",
"connect": "108.181.36.187:28015",
"request": "108.181.36.187:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1691954659,
"last_update": 1780565430,
"banned": false,
"wipe": 1779412465,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2307,
"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/1204814");
$data = json_decode($json, true);
var_dump($data);