Shapes SDK
A powerful little library for interacting with Omneo profile data and keeping UI elements in sync 🤖
Keep it simple
Easy to initialise and access through our set of handy methods
Framework agnostic
Any function can be registered to Shapes SDK to receive updates
Gotta go fast
Shapes SDK caches data using localstorage for instant rendering on reload
The basics
<head/>
Include Shapes SDK JSin <script type="text/javascript" src="https://cdn.omneo.io/shapes-sdk/shapes.sdk.js"></script>
<head>
or <body>
Initialise shape support in <script>
var shapesClient = ShapesSDK.init({
url: 'https://api.{environment}.getomneo.com/id',
token: '{omneo_id_token}',
logging: true
})
</script>