Ham and Beans|MyMini|4x|BPT1|TruePVE için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 80,
"fps_avg": 79,
"entities_count": 56845,
"world_seed": 1614537442,
"world_size": 3200,
"steam_id": "90286605277934621",
"domain": null,
"id": 5664436,
"ip": "162.230.243.193",
"port": 28016,
"query": 28020,
"color": 0,
"city": "Findlay",
"description": "\nWelcome to Ham and Beans. PVE Server with PVP at Monuments.\r\nMyMini | 4x Gather Rate and Stack Size | Auto Close Doors.\r\nFaster Recyclers with increasded output.\r\nRaidable Base Events | NPC Raiders | Random AirDrops | GatherAway.\r\nPlayers can Lay Eggs when Eating | Home Locations and Teleport. \r\nRoaming NPCs!!!!!!!!!\r\nBuild Your Base and Be Creative",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780599269,
"last_online": 1780606237,
"icon": null,
"name": "Ham and Beans|MyMini|4x|BPT1|TruePVE",
"connect": "162.230.243.193:28016",
"request": "162.230.243.193:28020",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 101,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1723803552,
"last_update": 1780606237,
"banned": false,
"wipe": 1780599584,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3270,
"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/5664436");
$data = json_decode($json, true);
var_dump($data);