@angoralabs/angora-js
v0.4.1
Published
Angora SDK JavaScript
Downloads
18
Readme
Angora
JavaScript SDK
Installation
npm install @angoralabs/angora-js
or
yarn add @angoralabs/angora-js
Usage
init
At the index.js
, import angora
from @angoralabs/angora-js
and call the init
function.
import React from 'react';
import ReactDOM from 'react-dom';
import angora from '@angoralabs/angora-js';
import App from './App';
angora.init(
'OGIyZTJmNGEtMzc4OS01NGE3LTg4ZTctZGJjMmVkZDU1MjdjOjIxODE4NzhmOGExNWEyM2YxOTI4MzFiMGEwYzRjZmUzZDFhNjIxNDM=',
);
ReactDOM.createRoot(document.getElementById('root')).render(<App />);
The init
function expects the token, which is your app key and can be found on the integration session.
Contributing
Not available yet.
License
MIT