4.2.0 • Published 5 years ago

agastya v4.2.0

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

♿ Agastya

Travis CI Dependencies Dev dependencies License Vulnerabilities Bundle size

📦 Get Started

yarn add agastya
// Import or require Agastya
import Agastya from "agastya";

// Initialize Agastya with your API key
const agastya = new Agastya("API_KEY");

Optionally, you can use a specific channel:

const agastya = new Agastya("API_KEY", "production"); // Production (default)
const agastya = new Agastya("API_KEY", "beta"); // Beta (stable)
const agastya = new Agastya("API_KEY", "dev"); // Nighly/development (breaking changes)

You can also use the official CDN instead:

<script async src="https://platform.oswaldlabs.com/_/API_KEY.js"></script>

Once you've created the Agastya object, you can start using the API:

agastya.open(); // Open the Agastya widget
agastya.api("enableMode", "read-aloud"); // Start read aloud mode
agastya.secureTrack({ hello: "world" }); // Track a custom event

API Documentation

4.2.0

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.0.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago