@factset/frontgate-js-sdk
TypeScript icon, indicating that this package has built-in type declarations

7.0.0 • Public • Published

@factset/frontgate-js-sdk

About

A Typescript-based client for FactSet's APIs for Digital Portals (and more!), supporting asynchronous requests using promises and subscriptions using observables.

Installation

yarn add @factset/frontgate-js-sdk

Example

import {
  FrontgateClientBuilder,
  wsConnection,
  endpointRequest,
} from '@factset/frontgate-js-sdk';

const builder = FrontgateClientBuilder.create();
const client = builder
  .with(
    wsConnection({
      host: 'frontgate-eu.show.factsetdigitalsolutions.com',
      port: 443,
    }),
  )
  .with(endpointRequest())
  .build();

await client.connect();

const response = await client.requestEndpoint('GET', '/api/v1/prices/get', {
  identifier: '20735',
  identifierType: 'idNotation',
  quality: 'BST',
});

Support

Please file your support requests and bug reports via the known channels (i.e. Starboard).

Readme

Keywords

none

Package Sidebar

Install

npm i @factset/frontgate-js-sdk

Weekly Downloads

20

Version

7.0.0

License

Apache-2.0

Unpacked Size

1.09 MB

Total Files

451

Last publish

Collaborators

  • fds
  • tsouthmaydfds
  • enterprisesdk
  • fbecker-fds