smnar
Servicio Meteorologico Nacional Argentina API Client
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install smnar
choosenim install smnar
git clone https://github.com/juancarlospaco/nim-smnar
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| smnar | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/juancarlospaco/nim-smnar |
|---|---|
| Homepage | https://github.com/juancarlospaco/nim-smnar |
| Registry Source | nimble_official |
README
SMNAR
- Servicio Meteorologico Nacional Argentina API Client & GUI App, powered by Nim

Use
import smnar
let cliente = Smnar()
echo cliente.getEstadoActual()
echo cliente.getEstaciones()
echo cliente.getRadiacionSolar()
echo cliente.getTemperatura365()
echo cliente.getAlertas365()
Return data type is JSON.
{
"id": 122,
"estacion": "base marambio",
"datetime": "2020-01-09T23:00:00-03:00",
"estado": "parcialmente nublado con neblina",
"visibilidad": 10,
"temperatura": 2.0,
"termica": -3.0,
"humedad": 80,
"velocidad": 22,
"direccion": "noroeste",
"presion": 967.6
}
Command line Use
$ smnar actual
$ smnar alerta365
$ smnar temperatura365
$ tsmnar radiacion
$ tsmnar estaciones
$ tsmnar licensia
$ tsmnar ayuda
- All units are Metric. ~
111Lines of code. - Functions return JSON.
- Functions wont need arguments.
- Temperature is Celsius.
"velocidad"is Wind Speed,"direccion"is Wind Direction.- It is not documented when the data for current day becomes available, if you get errors use
fecha = now() - 1.daysfor yesterdays data. - At the time of writing some API endpoints wont work, then are not implemented on the code.
Documentation
- https://juancarlospaco.github.io/nim-smnar
SSL
- Compile with
-d:sslto use HTTPS and SSL.
Install
nimble install smnar
See also
- https://github.com/juancarlospaco/nim-openweathermap#nim-openweathermap
- https://github.com/juancarlospaco/nim-open-elevation#nim-open-elevation