The User ID of the Free Fire account.
A promise that resolves to the scraped account data.
import { ffstalk } from 'nb-scraper';
async function getFreeFireAccount() {
const result = await ffstalk('USER_ID_HERE');
if (result.status) {
console.log('Player Name:', result.data.accountInfo['Nickname']);
console.log('Guild:', result.data.guildInfo['Guild Name']);
} else {
console.error(result.error);
}
}
getFreeFireAccount();
Fetches and parses Free Fire user information based on their UID.