1.0.2 • Published 1 year ago
truesearch v1.0.2
Simple package to get truecaller data of a number
Install
You can install truesearch
using npm:
npm i truesearch
Usage:
This package provides a function truesearch that takes two parameters:
- phonenumber (required): Phone number must be in international Format.
- installationId (required): your truecaller installation Id
Example:
const truesearch = require("truesearch");
const phoneNumber = "+91760590xxxx";
const installationId = 'your installation id';
async function main() {
try {
const result = await truesearch(phoneNumber,installationId);
console.log(result);
} catch (error) {
console.error(error.message);
}
}
main()
Credits
Created by Guru.