Rust
Death With Finesse 2x PVE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11160142json
{
"response": {
"fps": 63,
"fps_avg": 79,
"entities_count": 130084,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90285640347255813",
"domain": null,
"id": 11160142,
"ip": "203.51.4.53",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Perth",
"description": "\nDeath With Finesse 2x PVE\r\nSERVER RESTARTS 9AM AEST\r\nSkill Tree Just Added.\r\n\r\ndiscord.gg/BBr3G5CBX7\r\n\r\nMinicopters float on water. Easier to build water bases.\r\n\r\n Chat Translator for international players.\r\n\r\nLong Days - Short Nights.\r\n\r\n\r\nMILITARY AIRFIELD EVENT\r\n\r\nZombie Hordes now roam the map with loot\r\n\r\nCopter Weapons Just added\r\n\r\n/INFO IN CHAT FOR COMMANDS - \r\n-WATER BASES\r\n-CUSTOM TURRETS\r\n-PERSONAL HELI\r\n-SIGN ARTIST\r\n-REMOVE TOOL\r\n-FAST RECYCLERS\r\n-RAIDABLE BASES\r\n-QUICK SORT\r\n-QUICK SMELT\r\n-POWERLESS TURRETS AND SAM SITES\r\n-CUSTOM NPC'S\r\n-TELEPORT SYSTEM\r\n\r\n-MORE EVENTS IN GAME AND MORE WILL BE ADDED SOON!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778454180,
"score": 0,
"last_online": 1778559020,
"icon": null,
"name": "Death With Finesse 2x PVE",
"connect": "203.51.4.53:28015",
"request": "203.51.4.53:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228153,
"last_update": 1778559020,
"banned": false,
"wipe": 1778207454,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4272,
"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/11160142");
$data = json_decode($json, true);
var_dump($data);