Get Started
yarn add @scamsniffer/detector
const { DetectorAPI } = require("@scamsniffer/detector");
const API_KEY = '';
const ENDPOINT = '';
(async () => {
const detectorApi = new DetectorAPI({
apiKey: API_KEY,
endpoint: ENDPOINT
});
const testUrl = 'https://pudgypenguuins.xyz';
const result = await detectorApi.detect(testUrl);
console.log('result', result)
})();
Last modified 5mo ago