Options
All
  • Public
  • Public/Protected
  • All
Menu

Class wrapping @graphistry/js-upload-api::ClientPKey for client->server File and Dataset uploads using personal key authentication.

global

Hierarchy

  • unknown
    • ClientPKey

Index

Constructors

Constructors

  • new ClientPKey(personalKeyId: string, personalKeySecret: string, org?: string, protocol?: string, host?: string, clientProtocolHostname?: string, version?: string): ClientPKey
  • Create a Client

    example

    Authenticate against Graphistry Hub

    import { Client } from '@graphistry/client-api';
    const client = new Client('my_personal_key_id', 'my_personal_key_secret');

    Parameters

    • personalKeyId: string

      Graphistry server personal key ID

    • personalKeySecret: string

      Graphistry server personal key secret

    • Optional org: string

      Graphistry organization (optional)

    • protocol: string = 'https'
    • host: string = 'hub.graphistry.com'
    • Optional clientProtocolHostname: string

      Override URL base path shown in browsers. By default uses protocol/host combo, e.g., https://hub.graphistry.com

      For more examples, see @graphistry/node-api and @graphistry/js-upload-api docs

    • version: string = VERSION

    Returns ClientPKey