string api
  .ScriptTag(string token, string style)

Get a <script> tag for a specific dataset to be displayed as a table. Insert this script tag where you want the table to appear in your HTML.


  • token string
    Secure access token (from .Token())
  • style string
    The styling framework to use for this table. Can be one of:
    • d - Default
    • auto - Auto detect
    • bm - Bulma
    • bs - Bootstrap 3
    • bs4 - Bootstrap 4
    • bs5 - Bootstrap 5
    • dt - CloudTables / DataTables default styling
    • zf - Zurb Foundation
    • ju - jQuery UI
    • se - Semantic UI
    • no - No styling


This method returns a string which contains the HTML <script> tag to use to embed your CloudTable.


var api = new CloudTables.Api(":apiKey")

var token = await api.Token();
var result = Api.Dataset(":id").ScriptTag(token);

Will result in a string such as: