JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 119
  • Score
    100M100P100Q90124F
  • License MIT

WayScript gives you flexible building blocks to seamlessly integrate, automate and host tools in the cloud.

Package Exports

  • wayscript

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wayscript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

WayScript JS

npm version CircleCI Status

A new way to build software.

  • WayScript gives you flexible building blocks to seamlessly integrate, automate and host tools in the cloud. Unlock new potential with drag and drop programming.

  • Instantly connect to hundreds of datasets including GitHub, Twitter, databases, ecommerce data, or build your own integration. WayScript can read data from Excel, Google Sheets, and an evergrowing list of third-party APIs.

  • Seamlessly migrate to the cloud: Generate interfaces, instantly share, and run via event-based triggering.

Quick Start

If you use npm:

npm install wayscript

Or load directly from CDN:

<script src="https://cdn.wayscript.com/static/js/api/wayscript.0.0.4.js"></script>

Basic Usage

  1. Get the API Key from your WayScript user profile page

  2. Run WayScript programs from your JavaScript code:

wayscript.apiKey = 'YOUR_API_KEY';

// Run a program by id
let programId = 1234;
wayscript.runProgram( programId );

// Pass variables to a program
let variables = [ 'one', 'two', 'three' ];
wayscript.runProgram( programId, variables );

// Handle the response
wayscript.onSuccess = function( responseText ) {
  console.log( responseText );
};
wayscript.onError = function( responseText ) {
  console.log( responseText );
};
wayscript.runProgram( programId ).onSuccess( onSuccess ).onError( onError );