0.24.2 • Published 4 months ago

@factset/sdk-factsetconcordance v0.24.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

FactSet

FactSet Concordance client library for JavaScript

npm Apache-2 license

The FactSet Concordance API enables Application Developers and Data Scientists to programmatically discover the FactSet Identifier for a specific Entity or Person based on attributes, such as name, URL, and location.FactSet Identifiers are mapped to industry-standard identifiers, as well as to a comprehensive set of reference data and unique content, to enhance the ability to quickly connect content sets.

Using the submitted attributes, the FactSet Concordance API leverages FactSet’s extensive Entity Master, People, and Symbology databases to return potential candidate matches and a proposed match. The result is a concorded FactSet Identifier that can then be used as input throughout FactSet's expanding catalog of Content using our Content APIs or Standard DataFeeds.

There are two types of workflows supported in the API:

Entity & People Match: The first workflow follows traditional API conventions in that a request is accepted and a response is returned synchronously enabling the concordance of up to 25 names in a single request. The response returns a list of 20 candidates as well as a proposed match.

Entity & People Match - Bulk: The second workflow allows you to input a large list of names within a .CSV file in a single request With this workflow, a task is created for uploading a set of queries. Once the task has completed, the client retrieves the concordance results through the /entity-decisions or /people-decisions endpoint. Note that in the Bulk workflow, only the matches for the records are returned. Candidates are not included.

Once the service has provided a list of concorded FactSet Identifiers, you can then use our Entity Mappings and People Mappings endpoints to further review the universe of mapped identifiers or modify existing records.

This TypeScript/JavaScript package is automatically generated by the OpenAPI Generator project:

  • API version: 2.8.0
  • Package version: 0.24.2
  • Build package: com.factset.sdk.codegen.FactSetJavascriptClientCodegen

Requirements

  • Node.js >= 14

Installation

npm

npm install @factset/sdk-utils @factset/sdk-factsetconcordance@0.24.2

yarn

yarn add @factset/sdk-utils @factset/sdk-factsetconcordance@0.24.2

Usage

  1. Generate authentication credentials.
  2. Setup Node.js environment

    1. Install and activate Node.js >=14. If you're using nvm:

      nvm install 16
      nvm use 16
    2. (optional) Install yarn.

  3. Install dependencies.

  4. Run the following:
const { ApiClient, EntityMatchApi } = require('@factset/sdk-factsetconcordance');
const { ConfidentialClient } = require('@factset/sdk-utils');

const apiClient = ApiClient.instance;

// Examples for each supported authentication method are below,
// choose one that satisfies your use case.

// (Preferred) OAuth 2.0: FactSetOAuth2
// See https://github.com/FactSet/enterprise-sdk#oauth-20
// for information on how to create the app-config.json file
//
// The confidential client instance should be reused in production environments.
// See https://github.com/FactSet/enterprise-sdk-utils-typescript#authentication
// for more information on using the ConfidentialClient class
apiClient.factsetOauth2Client = new ConfidentialClient('/path/to/app-config.json');

// Basic authentication: FactSetApiKey
// See https://github.com/FactSet/enterprise-sdk#api-key
// for information how to create an API key
// const FactSetApiKey = apiClient.authentications['FactSetApiKey'];
// FactSetApiKey.username = 'USERNAME-SERIAL';
// FactSetApiKey.password = 'API-KEY';

const apiInstance = new EntityMatchApi();
const name = FactSet; // String | Name of Entity to match.
const opts = {
  'country': US, // String | ISO2 country code corresponding to the entity name that is used when evaluating candidates for a match. For a list of ISO2 Country codes, visit [OA 8754](https://my.apps.factset.com/oa/pages/8754).
  'state': CT, // String | Two-character state code corresponding to the entity name that is used when evaluating candidates for a match. Currently, only US state codes are supported.
  'url': "url_example", // String | URL corresponding to the entity name that is used when evaluating candidates for a match.
  'includeEntityType': ["PUB"], // [String] | Three-character FactSet entity type code used to filter candidates in order to determine the final match result. Only candidates with an entity type specified will be considered for the final match result. Multiple types can be entered separated by commas.   |Entity Type Code|Entity Type Description|Entity Type Code|Entity Type Description|   |---|---|---|---|   |ABS|Asset-Backed||MED|Broadcast Call Sign|   |BAS|Business Association (JP)||MUC|Mutual Fd-Closed End|   |CAC|Consolidated Accounting||MUE|Mutual Fd-ETF|   |CMD|Commodity||MUT|Mutual Fd-Open End|   |COL|College/University||NPO|Non-Profit Organization|   |CUR|Currency||OPD|Operating Division|   |ESP|Emp Stk Ownership Plan||OTH|Other|   |EXT|Extinct||PEF|Pension Fund|   |FAF|Family of Fds (VC/Pvt EQ)||PRO|Real Property|   |FND|Foundation/Endowment||PUB|Public Company|   |FNS|Financing Subsidiary/SPE||PVF|Private Eq Fd/Alt Invt|   |FRX|ForEx||PVT|Private Company|   |GOV|Government||SOV|Sovereign Wealth Fund|   |HED|Hedge Fund||SUB|Subsidiary|   |HOL|Holding Company||TRU|Trust/Trustee|   |IDX|Index||UMB|Umbrella Fund|   |VEN|Venture Capital Fund||JVT|Joint Venture| 
  'excludeEntityType': ["EXT"], // [String] | Three-character FactSet entity type code used to filter candidates in order to determine the final match result. Candidates with an entity type specified will *not* be considered for the final match result. Multiple types can be entered separated by commas.   |Entity Type Code|Entity Type Description|Entity Type Code|Entity Type Description|   |---|---|---|---| |ABS|Asset-Backed||MED|Broadcast Call Sign| |BAS|Business Association (JP)||MUC|Mutual Fd-Closed End| |CAC|Consolidated Accounting||MUE|Mutual Fd-ETF| |CMD|Commodity||MUT|Mutual Fd-Open End| |COL|College/University||NPO|Non-Profit Organization| |CUR|Currency||OPD|Operating Division| |ESP|Emp Stk Ownership Plan||OTH|Other| |EXT|Extinct||PEF|Pension Fund| |FAF|Family of Fds (VC/Pvt EQ)||PRO|Real Property| |FND|Foundation/Endowment||PUB|Public Company| |FNS|Financing Subsidiary/SPE||PVF|Private Eq Fd/Alt Invt| |FRX|ForEx||PVT|Private Company| |GOV|Government||SOV|Sovereign Wealth Fund| |HED|Hedge Fund||SUB|Subsidiary| |HOL|Holding Company||TRU|Trust/Trustee| |IDX|Index||UMB|Umbrella Fund| |VEN|Venture Capital Fund||JVT|Joint Venture| 
  'includeEntitySubType': ["PR"], // [String] | Two-character FactSet entity subtype code used to filter candidates in order to determine the final match result. Only candidates with an entity subtype specified will be considered for the final match result. Multiple types can be entered separated by commas.   |Entity Subtype Code|Entity Subtype Description|Entity Subtype Code|Entity Subtype Description|   |---|---|---|---|   |AR|Arbitrage|IC|Investment Company|   |BM|Bank Investment Division|IN|Insurance Company|   |BR|Broker|MF|Mutual Fund Manager|   |CP|Corporate|ML|Master Ltd Part|   |CU|Custodial|MM|Market Maker|   |FF|Fund of Funds Manager|PB|Private Banking/Wealth Mgmt|   |FH|Fund of Hedge Funds Manager|PF|Pension Fund Manager|   |FO|Foundation/Endowment Manager|PP|Real Estate Manager|   |FS|Fund Distributor|RE|Research Firm|   |FU|Fund|SB|Subsidiary Branch|   |FY|Family Office|ST|Stock Borrowing/Lending|   |GV|Govt (Fed/Local/Agency)|SV|Sovereign Wealth Manager|   |HF|Hedge Fund Manager|VC|Venture Capital/Pvt Equity|   |IA|Investment Adviser|   |IB|Investment Banking| 
  'excludeEntitySubType': ["HF"], // [String] | Two-character FactSet entity subtype code used to filter candidates in order to determine the final match result. Candidates with an entity subtype specified will not be considered for the final match result. Multiple types can be entered separated by commas. |Entity Subtype Code|Entity Subtype Description|Entity Subtype Code|Entity Subtype Description| |---|---|---|---| |AR|Arbitrage|IC|Investment Company| |BM|Bank Investment Division|IN|Insurance Company| |BR|Broker|MF|Mutual Fund Manager| |CP|Corporate|ML|Master Ltd Part| |CU|Custodial|MM|Market Maker| |FF|Fund of Funds Manager|PB|Private Banking/Wealth Mgmt| |FH|Fund of Hedge Funds Manager|PF|Pension Fund Manager| |FO|Foundation/Endowment Manager|PP|Real Estate Manager| |FS|Fund Distributor|RE|Research Firm| |FU|Fund|SB|Subsidiary Branch| |FY|Family Office|ST|Stock Borrowing/Lending| |GV|Govt (Fed/Local/Agency)|SV|Sovereign Wealth Manager| |HF|Hedge Fund Manager|VC|Venture Capital/Pvt Equity| |IA|Investment Adviser| |IB|Investment Banking| 
  'includeParent': false, // Boolean | Flag to include parent entities in the list of candidates. This parameter does not influence the match result.
  'bbgFigi': BBG009S39JY5, // String | Input identifiers for the Bloomberg Listing/Regional/Security ID symbol type.
  'bbgTicker': BloombergId, // String | Input identifiers for the Bloomberg Listing and Regional Ticker symbol Type.
  'bic': BICCode, // String | Input identifiers for the BICCode - Bank Indentification Code symbol Type.
  'cik': CIK, // String | Input identifiers for the CIK - Edgar Central Index Keys symbol type.
  'crd': CRD, // String | Input identifiers for the CRD - Central Registration Depository symbol type.
  'cusip': CUSIP, // String | Input identifiers for the CUSIP symbol type.
  'duns': Dun&Bradstreet, // String | Input identifiers for the DUNS - Dun & Bradstreet Data Universal Numbering System symbol type.
  'ein': EmployerIdentificationNumber, // String | Input identifiers for the EIN - Employer Identification Number symbol type.
  'factsetId': FactSetIdentifier, // String | Input identifiers for the type FactSet Identifier - FactSet -E,-S,-R, -L Permanent Identifier symbol type.
  'fitch': FitchCreditRating, // String | Input identifiers for the Fitch - Fitch Ratings symbol type.
  'gvkey': GVKey, // String | Input identifiers for the type GVKEY - Compustat Global Company Key symbol type.
  'gvkeyIid': GVKeyIssueIdentifier, // String | Input identifiers for the type GVKEY+IID - Compustat Global Company Key and Issue Identifier symbol type.
  'isin': ISIN, // String | Input identifiers for the ISIN - International Securities Identification Number symbol type.
  'jcn': JCN, // String | Input identifiers for the type JCN - Japanese Corporate Number symbol type.
  'lei': LegalEntityIdentifier, // String | Input identifiers for the LEI - Legal Entity Identifier symbol type
  'lxid': LXID, // String | Input identifiers for the type LXID - Markit Syndicated Loan Identifier symbol type.
  'md': MoodysIssuer, // String | Input identifiers for the Moody's Ratings Identifier type.
  'redCode': RedCode, // String | Input identifiers for the type Red Code - Markit Reference Entity Identifier symbol type.
  'rssd': FederalReserveRSSDIdentifier, // String | Input identifiers for the RSSD - Federal Reserve RSSD symbol typ.
  'sedol': SEDOL, // String | Input identifiers for the SEDOL symbol type.
  'spr': SPRating, // String | Input identifiers for the Price Ticker symbol type.
  'ticker': PriceTicker, // String | Input identifiers for the Price Ticker symbol type.
  'tickerExchange': TickerExch, // String | Input identifiers for the TickerExchange.
  'tickerRegion': TickerRegion, // String | Input identifiers for the TickerRegion.
  'ukch': UKCompanyHouse, // String | Input identifiers for the UKCH - UK Company House symbol type.
  'valoren': VALOR, // String | Input identifiers for the Valoren (\"Valor\") symbol type.
  'wkn': WKN // String | Input identifiers for the WKN - German Securities symbol type.
};

// Call api endpoint
apiInstance.getEntityMatch(name, opts).then(
  data => {

    console.log('API called successfully. Returned data:');
    console.log(data);
  },
  error => {
    console.error(error);
  },
);

Documentation for API Endpoints

All URIs are relative to https://api.factset.com/content

ClassMethodHTTP requestDescription
factsetconcordance.EntityMatchApigetEntityMatchGET /factset-concordance/v2/entity-matchGet Entity Candidates and Matches for a single name and attributes.
factsetconcordance.EntityMatchApigetEntityMatchForListPOST /factset-concordance/v2/entity-matchGet a list of Entity Candidates and Matches for a requested list of up to 25 names and attributes.
factsetconcordance.EntityMatchBulkApigetEntityDecisionsGET /factset-concordance/v2/entity-decisionsGet the decisions of matches for the requested taskId.
factsetconcordance.EntityMatchBulkApigetEntityTaskForListPOST /factset-concordance/v2/entity-taskInput a file with names and attributes, creating a taskId.
factsetconcordance.EntityMatchBulkApigetEntityTaskStatusGET /factset-concordance/v2/entity-task-statusGets the status of the requested taskId or all tasks for a User
factsetconcordance.MappingsApigetEntityMappingDeleteForListPOST /factset-concordance/v2/entity-mapping-deleteDeletes mapping specified by the client.
factsetconcordance.MappingsApigetEntityMappingForListPOST /factset-concordance/v2/entity-mappingSaves a single-mapping specified by the client.
factsetconcordance.MappingsApigetEntityUniverseGET /factset-concordance/v2/entity-universeRetrieve all saved mappings within a requested universe
factsetconcordance.MappingsApigetEntityUniverseForListPOST /factset-concordance/v2/entity-universeRetrieve all saved mappings within a requested universe or large list of client ids
factsetconcordance.PeopleMappingApigetPeopleMappingDeleteForListPOST /factset-concordance/v2/people-mapping-deleteDeletes mapping specified by the client.
factsetconcordance.PeopleMappingApigetPeopleMappingForListPOST /factset-concordance/v2/people-mappingSaves a single-mapping specified by the client.
factsetconcordance.PeopleMappingApigetPeopleUniverseGET /factset-concordance/v2/people-universeRetrieve all saved mappings within a requested universe
factsetconcordance.PeopleMappingApigetPeopleUniverseForListPOST /factset-concordance/v2/people-universeRetrieve all saved mappings within a requested universe or large list of client ids
factsetconcordance.PeopleMatchApigetPeopleMatchGET /factset-concordance/v2/people-matchFind potential people matches given a person's name.People matches can be retrieved using person's name and other attributes like firstname, middlename and lastname.
factsetconcordance.PeopleMatchApigetPeopleMatchForListPOST /factset-concordance/v2/people-matchFind potential people matches given a person's name.
factsetconcordance.PeopleMatchBulkApigetPeopleDecisionsGET /factset-concordance/v2/people-decisionsGet the decisions of matches for the requested taskId.
factsetconcordance.PeopleMatchBulkApigetPeopleTaskForListPOST /factset-concordance/v2/people-taskCreate a People Concordance Task.
factsetconcordance.PeopleMatchBulkApigetPeopleTaskStatusGET /factset-concordance/v2/people-task-statusGet the Status of the People Tasks.
factsetconcordance.SnowflakeApigetSnowflakeEntityMatchForListPOST /factset-concordance/v2/snowflake-entity-matchPerform an entity search and return a snowflake-friendly response. Up to 25 Names per request.
factsetconcordance.SnowflakeApisnowflakeEntityMappingPostPOST /factset-concordance/v2/snowflake-entity-mappingSave entity mappings to a universe
factsetconcordance.UniversesApigetEntityUniverseStatisticsGET /factset-concordance/v2/entity-universe-statisticsGet statistics on a given universe
factsetconcordance.UniversesApigetUniverseForListPOST /factset-concordance/v2/universeCreate a new universe
factsetconcordance.UniversesApigetUniverseStatisticsGET /factset-concordance/v2/universe-statisticsGet statistics on a given universe
factsetconcordance.UniversesApigetUniversesGET /factset-concordance/v2/universesFetch metadata for universes
factsetconcordance.UniversesApigetUpdateUniverseForListPOST /factset-concordance/v2/update-universeUpdate metadata for an existing universe

Documentation for Models

Documentation for Authorization

FactSetApiKey

  • Type: HTTP basic authentication

FactSetOAuth2

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

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.

0.24.2

4 months ago

0.24.1

7 months ago

0.23.2

8 months ago

0.24.0

8 months ago

0.23.1

11 months ago

0.23.0

1 year ago

0.22.0

1 year ago

0.21.4

1 year ago

0.21.3

2 years ago

0.21.2

2 years ago

0.8.4

2 years ago

0.21.0

2 years ago

0.21.1

2 years ago

0.8.3

2 years ago

0.20.1

2 years ago

0.20.0

2 years ago

0.8.2

2 years ago

0.9.1

2 years ago

0.8.1

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago