1.0.0 • Published 2 years ago

@factset/sdk-utils v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

FactSet SDK Utilities for TypeScript and JavaScript

npm Apache-2 license

This repository contains a collection of utilities that supports FactSet's SDK in TypeScript and JavaScript, and facilitate usage of FactSet APIs.

Installations

npm

npm install @factset/sdk-utils

yarn

yarn add @factset/sdk-utils

Usage

This library contains multiple modules, sample usage of each module is below.

Authentication

First, you need to create the OAuth 2.0 client configuration that will be used to authenticate against FactSet's APIs:

  1. Create a new application on FactSet's Developer Portal.
  2. When prompted, download the configuration file and move it to your development environment.
import { ConfidentialClient } from '@factset/sdk-utils';
import axios from 'axios';

async function exampleRequest() {
  const confidentialClient = new ConfidentialClient('/path/to/config.json');
  const accessToken = await confidentialClient.getAccessToken();

  const response = await axios.get('https://api.factset.com/analytics/lookups/v3/currencies', {
    headers: {
      Authorization: `Bearer ${accessToken}`,
    },
  });

  console.log(response.data);
}

exampleRequest();

Contributing

Please refer to the contributing guide.

Copyright

Copyright 2022 FactSet Research Systems Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

@everything-registry/sub-chunk-312@factset/sdk-exchangedatafeedsnapshotapientireexchange@factset/sdk-exchangedatafeedsnapshotapisymbollist@factset/sdk-factsetbenchmarks@factset/sdk-factsetconcordance@factset/sdk-factsetcontentapibatch@factset/sdk-factsetentity@factset/sdk-factsetentityreportbuilder@factset/sdk-factsetesg@factset/sdk-factsetestimates@factset/sdk-factsetestimatesreportbuilder@factset/sdk-factsetetf@factset/sdk-factsetfundamentals@factset/sdk-factsetfundamentalsreportbuilder@factset/sdk-factsetfunds@factset/sdk-factsetgeorev@factset/sdk-factsetglobalprices@factset/sdk-factsetintradaytickhistory@factset/sdk-factsetmergersandacquisitions@factset/sdk-factsetner@factset/sdk-factsetoptions@factset/sdk-factsetownership@factset/sdk-factsetownershipreportbuilder@factset/sdk-factsetpeople@factset/sdk-factsetportfoliooptimizer@factset/sdk-aitextsummarization@factset/sdk-analyticsdatastore@factset/sdk-axiomaequityoptimizer@factset/sdk-axiomafixedincomeoptimizer@factset/sdk-classifications@factset/sdk-companylogo@factset/sdk-companylogoapifordigitalportals@factset/sdk-contentfeedsdatadictionary@factset/sdk-directstreamingoftransactionmessages@factset/sdk-documentsdistributorcallstreetevents@factset/sdk-documentsdistributordocuments@factset/sdk-etfprofileandprices@factset/sdk-eventcalendar@factset/sdk-eventsandtranscripts@factset/sdk-eventscontribution@factset/sdk-exchangedatafeeddatamodel@factset/sdk-factsetprices@factset/sdk-factsetprivatemarkets@factset/sdk-factsetprogrammaticenvironment@factset/sdk-factsetquantfactorlibrary@factset/sdk-factsetrbics@factset/sdk-factsetsearchanswers@factset/sdk-factsettermsandconditions@factset/sdk-factsettickhistory@factset/sdk-factsettrading@factset/sdk-fixedincomeanalyticsbatcher@factset/sdk-fixedincomecalculation@factset/sdk-foreignexchangerate@factset/sdk-formula@factset/sdk-fundsapifordigitalportals@factset/sdk-globalfilings@factset/sdk-idlookup@factset/sdk-intradaytickhistory@factset/sdk-investmentbankingofficerefresh@factset/sdk-irnconfiguration@factset/sdk-irncontacts@factset/sdk-irncustomsymbols@factset/sdk-irnmeetings@factset/sdk-irnnotes@factset/sdk-issuetracker@factset/sdk-marketintelligence@factset/sdk-modelportfolio@factset/sdk-barraportfoliooptimizer@factset/sdk-bondsapifordigitalportals@factset/sdk-capitalstructurereportbuilder@factset/sdk-chartgenerationservice@factset/sdk-stocksapifordigitalportals@factset/sdk-streetaccountnews@factset/sdk-symbology@factset/sdk-timeseriesapifordigitalportals@factset/sdk-universalscreening@factset/sdk-vault@factset/sdk-vermilion@factset/sdk-virtualportfolioapifordigitalportals@factset/sdk-watchlistapifordigitalportals@factset/sdk-naturallanguageprocessing@factset/sdk-newsapifordigitalportals@factset/sdk-northfieldportfoliooptimizer@factset/sdk-ofdb@factset/sdk-openfactsetpartnersdocuments@factset/sdk-openrisk@factset/sdk-optimizationengineapimultiperiod@factset/sdk-overviewreportbuilder@factset/sdk-paengine@factset/sdk-portfolio@factset/sdk-portfolioreportingbatcher@factset/sdk-pricealertingapifordigitalportals@factset/sdk-procuretopayapiscim@factset/sdk-procuretopayprovisioning@factset/sdk-procuretopayscim@factset/sdk-quantitativeresearchenvironment@factset/sdk-quotesapifordigitalportals@factset/sdk-realtimenews@factset/sdk-realtimepricealerting@factset/sdk-realtimequotes
1.0.0

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago