-
Notifications
You must be signed in to change notification settings - Fork 1
Example code
Luit Hollander edited this page Oct 2, 2018
·
1 revision
<!DOCTYPE html>
<html>
<head>
<title>CSDB API Example</title>
</head>
<body>
<script src="https://cdn.cryptoscamdb.org/js/api/1.0.0/api.js"></script>
<script>
const CSDB = new api.default({
cache: {
enable: true
}
});
CSDB.check('example.com').then(result => {
console.log(result);
});
CSDB.getAllScams().then(result => {
console.log(result);
});
</script>
</body>
</html>