Пример #1
0
        public FinancialModelingPrepAdapter()
        {
            _adapter = new BaseJsonApiAdapter(requestUriString);

            //This API seems to be based on the US east coast and publishes what looks like local times (not even UTC)
            try
            {
                TimeZone = TimeZoneInfo.FindSystemTimeZoneById(windowsTimeZoneId);
            }
            catch (TimeZoneNotFoundException)
            {
                TimeZone = TimeZoneInfo.FindSystemTimeZoneById(linuxTimeZoneId);
            }
        }
 public EuropeanCentralBankAdapter()
 {
     _adapter = new BaseJsonApiAdapter(requestUriString);
 }