/Embloy-Node

Embloy's Node.js SDK for interacting with your Embloy integration.

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Embloy Node

Embloy's Node SDK for interacting with your Embloy integration.

Usage

NOTE: For more details, see the developers documentation at developers.embloy.com.

Install Embloy-Node SDK:

npm install embloy

Integrate it in your service:

import { EmbloyClient, EmbloySession } from 'embloy';

const session = new EmbloySession({
  mode: "job",
  job_slug: "your-job-slug",
  success_url: "your-success-url",
  cancel_url: "your-cancel-url",
});
const embloy = new EmbloyClient("your-client-token", session);

embloy.makeRequest()
  .then(result => window.location.href = result)
  .catch(error => console.error(error.message));

Publish Package

npm publish

© Carlo Bortolan, Jan Hummel

Carlo Bortolan  ·  GitHub @carlobortolan  ·  contact via bortolanoffice@embloy.com

Jan Hummel  ·  GitHub @github4touchdouble  ·  contact via hummeloffice@embloy.com