Home: Difference between revisions
From BigID Developer Portal
No edit summary |
No edit summary |
||
Line 242: | Line 242: | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | align-items: center; | ||
margin-top:2.4rem; | margin-top: 2.4rem; | ||
padding: 2vw; | padding: 2vw; | ||
} | } | ||
Line 249: | Line 249: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
padding-left:10vw; | padding-left: 10vw; | ||
min-width: 300px; | min-width: 300px; | ||
} | } | ||
Line 273: | Line 273: | ||
} | } | ||
#classify h1 {margin:0px;} | #classify h1 { | ||
margin: 0px; | |||
} | |||
</style> | </style> | ||
<main> | <main> | ||
Line 291: | Line 293: | ||
</div> | </div> | ||
<div class="try"> | <div class="try"> | ||
<textarea id="tryData">Hello! Can you please process payment for [email protected] to 4199006507426062? Thank you!</textarea> | <textarea | ||
id="tryData">Hello! Can you please process payment for [email protected] to 4199006507426062? Thank you!</textarea> | |||
<button onclick="discover()">Discover</button> | <button onclick="discover()">Discover</button> | ||
</div> | </div> | ||
Line 330: | Line 333: | ||
</main> | </main> | ||
<script> | <script> | ||
mw.loader.using( ['jquery.cookie'], function () { | window.onload = function () { | ||
mw.loader.using(['jquery.cookie'], function () { | |||
var s; | |||
s = document.createElement('script'); | |||
s.src = "https://unpkg.com/[email protected]/jquery.highlight-within-textarea.js"; | |||
document.head.appendChild(s); | |||
}); | |||
} | |||
async function discover() { | async function discover() { | ||
let req = await window.fetch('https://classify.bigid.tools', { | let req = await window.fetch('https://classify.bigid.tools', { | ||
method: 'POST', | method: 'POST', | ||
headers: { | headers: { | ||
'content-type':'application/json' | 'content-type': 'application/json' | ||
}, | }, | ||
body: JSON.stringify({text:document.getElementById('tryData').value}) | body: JSON.stringify({ text: document.getElementById('tryData').value }) | ||
}); | }); | ||
let json = await req.json(); | let json = await req.json(); | ||
let highlighter = json.map((item) => { | let highlighter = json.map((item) => { | ||
return {highlight: [pos, end],className: item.word} | return { highlight: [pos, end], className: item.word } | ||
}); | }); | ||
console.log(highlighter) | console.log(highlighter) | ||
$('#tryData').highlightWithinTextarea({highlight: highlighter}); | $('#tryData').highlightWithinTextarea({ highlight: highlighter }); | ||
} | } | ||
</script> | </script> | ||
</html> | </html> | ||
{{#description2:Get started adding BigID's data discovery to your application with tutorials, samples, and | {{#description2:Get started adding BigID's data discovery to your application with tutorials, samples, and | ||
documentation}} | documentation}} |
Revision as of 21:56, 4 March 2022
See into your data
BigID allows you to sort through large swaths of data to see what really matters. Try it on the right.
Apps
Add custom logic and screens to your BigID system.
REST API
Manage BigID programmatically. Scan data, run SARs, and handle data breaches from anywhere.
Connectors
Scan any system, anywhere. Write your own connector in any programming language
Popular Articles: