Cek Data Profile Akun Ff

JavaScriptPublic
by zx-apiAug 19, 2026, 03:02 PMExpires: Never83 views
Cek Data Profile Akun Ff
Raw
1
2const servers = {
3    "ID": "Indonesia", "IND": "India", "BD": "Bangladesh", "PK": "Pakistan",
4    "SG": "Singapore", "TH": "Thailand", "VN": "Vietnam", "TW": "Taiwan",
5    "BR": "Brazil", "NA": "North America", "EU": "Europe", "ME": "Middle East"
6};
7
8function formatTimestamp(timestamp) {
9    if (!timestamp) return "โ€”";
10    const date = new Date(parseInt(timestamp) * 1000);
11    return date.toLocaleString('id-ID', {
12        day: 'numeric', month: 'long', year: 'numeric',
13        hour: '2-digit', minute: '2-digit'
14    });
15}
16
17function getServerName(region) {
18    return servers[region] || region || "Unknown Server";
19}
20
21async function cekID(uid) {
22    const url = `https://adenpedia.my.id/radenbaru/info.php?uid=${uid}`;
23    
24    console.log(`\n๐Ÿ”„ Sedang mengambil data untuk UID: ${uid}...`);
25
26    try {
27        const response = await fetch(url, {
28            method: 'GET',
29            headers: {
30                'Accept': 'application/json',
31                'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
32            }
33        });
34
35        if (!response.ok) {
36            throw new Error(`HTTP Error: ${response.status}`);
37        }
38
39        const data = await response.json();
40
41        if (!data.basicInfo) {
42            console.log("โŒ UID tidak ditemukan atau data tidak valid.");
43            return;
44        }
45
46        const basic = data.basicInfo;
47        const clan = data.clanBasicInfo || {};
48        const pet = data.petInfo || {};
49        const social = data.socialInfo || {};
50        const credit = data.creditScoreInfo || {};
51
52        // Output Hasil
53        console.log("\n=========================================");
54        console.log("๐Ÿ“ฑ  DATA AKUN FREE FIRE (ADENPEDIA)");
55        console.log("=========================================");
56        console.log(`๐Ÿ‘ค  Nickname   : ${basic.nickname}`);
57        console.log(`๐Ÿ†”  UID        : ${basic.accountId}`);
58        console.log(`๐ŸŒ  Region     : ${getServerName(basic.region)} (${basic.region})`);
59        console.log(`โญ  Level      : ${basic.level} (EXP: ${basic.exp.toLocaleString('id-ID')})`);
60        console.log(`๐Ÿ‘  Likes      : ${basic.liked.toLocaleString('id-ID')}`);
61        console.log(`๐Ÿ‘‘  Prime Lvl  : ${basic.primeInfo?.primeLevel || 0}`);
62        console.log(`๐Ÿ†  BR Rank    : ${basic.rank} (${basic.rankingPoints} Pts)`);
63        console.log(`๐ŸŽฏ  CS Rank    : ${basic.csRank} (${basic.csRankingPoints} Pts)`);
64        console.log(`๐Ÿ“…  Terdaftar  : ${formatTimestamp(basic.createAt)}`);
65        console.log(`๐Ÿ•’  Login Akhir: ${formatTimestamp(basic.lastLoginAt)}`);
66        console.log(`๐Ÿ›ก๏ธ  Credit Score: ${credit.creditScore || '-'}`);
67        console.log("-----------------------------------------");
68        
69        if (clan.clanName) {
70            console.log(`๐Ÿฐ  Guild      : ${clan.clanName} (Lvl ${clan.clanLevel})`);
71            console.log(`๐Ÿ‘ฅ  Member     : ${clan.memberNum} / ${clan.capacity}`);
72        } else {
73            console.log(`๐Ÿฐ  Guild      : Tidak ada / Solo`);
74        }
75
76        if (pet.name) {
77            console.log(`๐Ÿพ  Pet        : ${pet.name} (Lvl ${pet.level})`);
78        }
79
80        if (social.signature) {
81            console.log(`๐Ÿ“  Bio/Sign   : ${social.signature}`);
82        }
83        console.log("=========================================\n");
84
85    } catch (error) {
86        console.error(`โŒ Terjadi kesalahan: ${error.message}`);
87    }
88}
88 linesยท3,398 charsยท3.4 KB