Skip to content

Latest commit

 

History

History
472 lines (303 loc) · 11.6 KB

ESGApi.md

File metadata and controls

472 lines (303 loc) · 11.6 KB

Intrinio.SDK.Api.ESGApi

All URIs are relative to https://api-v2.intrinio.com

Method HTTP request Description
GetEsgCompanies GET /esg/companies ESG Companies
GetEsgCompanyComprehensiveRatings GET /esg/{identifier}/comprehensive ESG Company Comprehensive Ratings History
GetEsgCompanyRatings GET /esg/{identifier} ESG Company Ratings History
GetEsgLatest GET /esg ESG Latest
GetEsgLatestComprehensive GET /esg/comprehensive ESG Latest Comprehensive

GetEsgCompanies

View Intrinio API Documentation

ApiResponseESGCompanies GetEsgCompanies (string country = null, string industry = null, string ticker = null, int? pageSize = null, string nextPage = null)

ESG Companies

Example

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;

namespace Example
{
  public class GetEsgCompaniesExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var eSGApi = new ESGApi();
      
      string country = "Canada";
      string industry = "Retail";
      string ticker = "SHOP";
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseESGCompanies result = eSGApi.GetEsgCompanies(country, industry, ticker, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
country string [optional]  
industry string [optional]  
ticker string [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseESGCompanies

GetEsgCompanyComprehensiveRatings

View Intrinio API Documentation

ApiResponseESGCompanyComprehensiveRatingHistory GetEsgCompanyComprehensiveRatings (string identifier, int? pageSize = null, string nextPage = null)

ESG Company Comprehensive Ratings History

Example

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;

namespace Example
{
  public class GetEsgCompanyComprehensiveRatingsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var eSGApi = new ESGApi();
      
      string identifier = "AAPL";
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseESGCompanyComprehensiveRatingHistory result = eSGApi.GetEsgCompanyComprehensiveRatings(identifier, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string ISIN, Intrinio ID, or Ticker  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseESGCompanyComprehensiveRatingHistory

GetEsgCompanyRatings

View Intrinio API Documentation

ApiResponseESGCompanyRatingHistory GetEsgCompanyRatings (string identifier, int? pageSize = null, string nextPage = null)

ESG Company Ratings History

Example

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;

namespace Example
{
  public class GetEsgCompanyRatingsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var eSGApi = new ESGApi();
      
      string identifier = "AAPL";
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseESGCompanyRatingHistory result = eSGApi.GetEsgCompanyRatings(identifier, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string ISIN, Intrinio ID, or Ticker  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseESGCompanyRatingHistory

GetEsgLatest

View Intrinio API Documentation

ApiResponseESGLatest GetEsgLatest (string country = null, int? pageSize = null, string nextPage = null)

ESG Latest

Example

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;

namespace Example
{
  public class GetEsgLatestExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var eSGApi = new ESGApi();
      
      string country = "USA";
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseESGLatest result = eSGApi.GetEsgLatest(country, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
country string [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseESGLatest

GetEsgLatestComprehensive

View Intrinio API Documentation

ApiResponseESGLatestComprehensive GetEsgLatestComprehensive (string country = null, int? pageSize = null, string nextPage = null)

ESG Latest Comprehensive

Example

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;

namespace Example
{
  public class GetEsgLatestComprehensiveExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var eSGApi = new ESGApi();
      
      string country = "USA";
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseESGLatestComprehensive result = eSGApi.GetEsgLatestComprehensive(country, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
country string [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseESGLatestComprehensive