
Content Feeds Data Dictionary client library for .NET

An API for interacting with CTS Data Dictionary.
This .NET package is automatically generated by the OpenAPI Generator project:
- API version: 0.2
- SDK version: 0.21.11
- Build package: com.factset.sdk.codegen.FactSetCSharpNetCoreClientCodegen
Requirements
Installation
.NET CLI
dotnet add package FactSet.SDK.Utils
dotnet add package FactSet.SDK.ContentFeedsDataDictionary -v 0.21.11
NuGet
nuget install FactSet.SDK.Utils
nuget install FactSet.SDK.ContentFeedsDataDictionary -Version 0.21.11
Usage
[!IMPORTANT]
The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values.
Example Code
using System;
using System.Threading.Tasks;
using FactSet.SDK.Utils.Authentication;
using FactSet.SDK.ContentFeedsDataDictionary.Api;
using FactSet.SDK.ContentFeedsDataDictionary.Client;
using FactSet.SDK.ContentFeedsDataDictionary.Model;
namespace Example
{
public static class NavigatorBasicSearchPostExample
{
public static async Task Main()
{
var config = new FactSet.SDK.ContentFeedsDataDictionary.Client.Configuration();
ConfidentialClient confidentialClient = await ConfidentialClient.CreateAsync("/path/to/app-config.json");
config.OAuth2Client = confidentialClient;
var apiInstance = new NavigatorApi(config);
var basicSearchRequest = new BasicSearchRequest();
try
{
BasicSearchResponse result = apiInstance.NavigatorBasicSearchPost(basicSearchRequest);
Console.WriteLine(result.ToJson());
}
catch (ApiException e)
{
Console.WriteLine("Exception when calling NavigatorApi.NavigatorBasicSearchPost: " + e.Message );
Console.WriteLine("Status Code: "+ e.ErrorCode);
Console.WriteLine(e.StackTrace);
}
}
}
}
Using a Proxy
To use the API client with a HTTP proxy, setup a System.Net.WebProxy
Configuration c = new Configuration();
System.Net.WebProxy webProxy = new System.Net.WebProxy("http://myProxyUrl:80/");
webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
c.Proxy = webProxy;
Documentation for API Endpoints
All URIs are relative to https://api.factset.com/data-dictionary
NavigatorApi | NavigatorBasicSearchPost | POST /navigator/basic_search | Returns the data items (along with the products they belong to) that contain at least one of the search terms as a substring of either their name or description. |
NavigatorApi | NavigatorDataItemsProductIdGet | GET /navigator/data_items/{Product_id} | Get the list of data items associated with a product for Navigator. |
NavigatorApi | NavigatorProductsGet | GET /navigator/products | Get the list of products for Navigator. |
NavigatorApi | NavigatorSourcesDataItemIdGet | GET /navigator/sources/{DataItem_id} | Get a list of sources where the specified data item can be found, for each delivery method, filtered to the appearances of the given data item within the specified product. |
NavigatorApi | NavigatorSourcesGet | GET /navigator/sources | Get a list of sources by delivery method for the given product_id |
NavigatorApi | NavigatorTableFieldsTableIdGet | GET /navigator/table_fields/{Table_id} | Get the list of fields associated with a table for Navigator, and the code information for the specified data item, if applicable. |
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.