@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).