Rusty Pirates | No Decay | Monthly | No BP Wipes için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 68,
"fps_avg": 79,
"entities_count": 140094,
"world_seed": 1337,
"world_size": 4750,
"steam_id": "90286754852383751",
"domain": null,
"id": 6126079,
"ip": "156.236.84.50",
"port": 28020,
"query": 28021,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "Welcome to Rusty Pirates!\r\nRULES:\r\nMax Team Size 4.\r\nNO RACISM!\r\nNo Griefing\r\n\r\nNo Decay,monthly wipe,BP'S wipe only on force\r\nIf you need help contact an admin via discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780929264,
"last_online": 1780958425,
"icon": null,
"name": "Rusty Pirates | No Decay | Monthly | No BP Wipes",
"connect": "156.236.84.50:28020",
"request": "156.236.84.50:28021",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 7,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1727883625,
"last_update": 1780958425,
"banned": false,
"wipe": 1780596706,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1004,
"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/6126079");
$data = json_decode($json, true);
var_dump($data);