Esempio n. 1
0
 public GiosAirQualityService(ILogger <GiosAirQualityService> logger, ICyanoHttpClient client, IMemoryCache cache) :
     base(logger, client, "https://api.gios.gov.pl/pjp-api/rest/")
 {
     this.cache = cache;
 }
 public AirQualityService(ILogger logger, ICyanoHttpClient client, string baseUrl)
 {
     this.logger  = logger;
     this.client  = client;
     this.baseUrl = baseUrl;
 }
Esempio n. 3
0
 public ArsoService(ILogger <ArsoService> logger, ICyanoHttpClient client, IMemoryCache cache)
     : base(logger, client, "http://www.arso.gov.si/xml/zrak/")
 {
     this.cache = cache;
 }
Esempio n. 4
0
 public SachsenAirQualityService(ILogger <ArsoService> logger, ICyanoHttpClient client, IMemoryCache cache)
     : base(logger, client, "https://geoportal.umwelt.sachsen.de/arcgis/services/luft/luftmessdaten/MapServer/WFSServer")
 {
     this.cache = cache;
 }
Esempio n. 5
0
 public AqicnAirQualityService(ILogger <ArsoService> logger, ICyanoHttpClient client, IMemoryCache cache)
     : base(logger, client, "https://api.waqi.info/feed/")
 {
     this.cache = cache;
     url        = $"dresden/?token={AqicnCredentials.Instance.Token}";
 }