Indietro

#environment

6 APIs con questa etichetta

Dotenv API

Converti tra file .env (dotenv) e JSON, in entrambe le direzioni. L'endpoint parse legge il testo .env in un oggetto JSON pulito: salta le righe vuote e i commenti #, rispetta un export iniziale opzionale, rimuove le virgolette singole e doppie (interpretando le sequenze di escape \n, \t e \" all'interno delle virgolette doppie), rimuove i commenti inline dopo valori non quotati, supporta valori che si estendono su più righe all'interno di virgolette, e può opzionalmente espandere i riferimenti ${VAR} e $VAR rispetto alle variabili già definite nello stesso file — lasciando i valori tra virgolette singole rigorosamente letterali. L'endpoint stringify trasforma un oggetto JSON in un file .env valido, quotando solo i valori che ne hanno effettivamente bisogno e opzionalmente prefissando ogni riga con export per il sourcing nella shell. Tutto viene calcolato localmente e deterministicamente, quindi è istantaneo e privato — i tuoi segreti non lasciano mai la richiesta. Ideale per strumenti di configurazione e migrazioni, pipeline CI/CD, conversione di .env in JSON per app che vogliono una configurazione strutturata (e viceversa), e validazione di file di ambiente. Calcolo locale puro — nessuna chiave, nessun servizio di terze parti, istantaneo. Live, nulla viene memorizzato. 3 endpoint. Gestisce il formato dotenv; per file INI con [sezioni] usa un'API INI, e per YAML o TOML usa quelle API.

api.oanor.com/dotenv-api

Climate Projections API

Long-term climate projections as an API — daily, downscaled output from high-resolution CMIP6 global climate models for any location on Earth, from 1950 all the way to 2050. See how temperature, precipitation, wind and humidity are projected to change under a warming climate: get the daily projection over any date range (choose your variables and climate model), or per-year aggregates — annual mean temperature and total precipitation — that reveal the warming trend at a place over the coming decades. Seven HighResMIP models are available (EC_Earth3P_HR, MPI_ESM1_2_XR, MRI_AGCM3_2_S, CMCC_CM2_VHR4 and more). From planning and agriculture to risk assessment, sustainability and climate research, it turns climate-model data into a simple coordinate-in, projection-out call. A climate-projection resource — distinct from real-time weather forecasts, historical weather observations and Köppen climate classification. Open data from Open-Meteo (CC BY 4.0), based on the CMIP6 HighResMIP ensemble.

api.oanor.com/climateprojections-api

Greenhouse Gas Emissions API

Independent greenhouse-gas emissions data as an API — powered by Climate TRACE, the coalition (backed by Al Gore) that monitors global emissions from satellites, sensors and AI rather than self-reported figures. Get any country's emissions for a given year — CO2, methane (CH4) and nitrous oxide (N2O) in tonnes, plus CO2-equivalent over 100- and 20-year horizons — together with the country's global emissions rank and its share of total world emissions; pass several countries at once to compare them side by side. List the full set of sectors, subsectors and gases that Climate TRACE tracks (power, transportation, manufacturing, agriculture, fossil-fuel operations, waste and more). From China and the United States to any nation on Earth, with data from 2015 onward, it is ideal for climate, ESG, sustainability, policy, journalism and research applications. An independent emissions-inventory data source — distinct from electricity-grid carbon intensity, activity footprint calculators and climate classification. Open data from Climate TRACE (CC BY 4.0).

api.oanor.com/climatetrace-api

Solar PV (PVGIS) API

Potencial solar fotovoltaico para qualquer localização na Terra, alimentado pelo EU JRC PVGIS (Sistema de Informação Geográfica Fotovoltaica). Estime quanta energia um sistema solar fotovoltaico produziria em uma determinada coordenada — produção anual e mensal em kWh, irradiação solar no plano do painel e uma discriminação das perdas do sistema (ângulo de incidência, espectrais, temperatura) — para qualquer tamanho de painel, inclinação fixa e azimute; encontre a inclinação e orientação ideais do painel que maximizam a produção anual; e leia a irradiação solar horizontal global mensal de longo prazo. Abrange a maior parte do mundo (excluindo áreas polares e oceânicas abertas) a partir de anos de dados solares baseados em satélite. Ideal para instaladores e calculadoras solares, planejamento de energia renovável, ferramentas de energia doméstica e potencial de telhado, e aplicações climáticas / de sustentabilidade. Dados abertos do EU JRC PVGIS.

api.oanor.com/pvgis-api

Flood & River Discharge API

Global river-discharge and flood forecasting as an API, powered by the GloFAS (Global Flood Awareness System) model via Open-Meteo. For any coordinate on Earth, get a daily river-discharge forecast of up to 30 days — with the ensemble spread (mean, max and min across forecast members) so you can gauge uncertainty — plus up to 90 days of recent discharge history, and a quick current-situation summary with today's discharge and a 7-day outlook (peak day, max/min and rising/falling/stable trend). Discharge is reported in cubic metres per second. Ideal for flood early-warning and monitoring, insurance and reinsurance risk, agriculture and irrigation planning, hydropower, and environmental research. Data covers modelled rivers worldwide (none over open ocean). Open data via Open-Meteo / GloFAS.

api.oanor.com/flood-api

Air Quality API

Current air quality and hourly forecast for any location — European and US AQI plus PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide, dust and UV index. Powered by Open-Meteo. Just pass a latitude and longitude.

api.oanor.com/airquality-api