{"id":16971708,"url":"https://github.com/juancarlospaco/nim-smnar","last_synced_at":"2025-03-21T20:16:38.389Z","repository":{"id":151515566,"uuid":"232912602","full_name":"juancarlospaco/nim-smnar","owner":"juancarlospaco","description":"Servicio Meteorologico Nacional Argentina API Client","archived":false,"fork":false,"pushed_at":"2020-04-07T05:29:20.000Z","size":175,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T14:48:40.382Z","etag":null,"topics":["api-client","argentina","weather","weather-api"],"latest_commit_sha":null,"homepage":"https://juancarlospaco.github.io/nim-smnar","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juancarlospaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-01-09T21:48:38.000Z","updated_at":"2024-07-13T15:35:06.000Z","dependencies_parsed_at":"2023-05-18T21:45:50.299Z","dependency_job_id":null,"html_url":"https://github.com/juancarlospaco/nim-smnar","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":"0.47058823529411764","last_synced_commit":"c059748642370fe17414d7997ee5d63cba6a3cb9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fnim-smnar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fnim-smnar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fnim-smnar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlospaco%2Fnim-smnar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juancarlospaco","download_url":"https://codeload.github.com/juancarlospaco/nim-smnar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244860611,"owners_count":20522466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","argentina","weather","weather-api"],"created_at":"2024-10-14T00:54:03.436Z","updated_at":"2025-03-21T20:16:38.370Z","avatar_url":"https://github.com/juancarlospaco.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMNAR\n\n- [Servicio Meteorologico Nacional Argentina](https://www.smn.gob.ar) API Client \u0026 GUI App, [powered by Nim](https://nim-lang.org)\n\n![](https://raw.githubusercontent.com/juancarlospaco/nim-smnar/master/0.png \"Servicio Meteorologico Nacional Argentina GUI App\")\n\n\n# Use\n\n```nim\nimport smnar\n\nlet cliente = Smnar()\necho cliente.getEstadoActual()\necho cliente.getEstaciones()\necho cliente.getRadiacionSolar()\necho cliente.getTemperatura365()\necho cliente.getAlertas365()\n```\n\nReturn data type is JSON.\n\n```json\n{\n  \"id\": 122,\n  \"estacion\": \"base marambio\",\n  \"datetime\": \"2020-01-09T23:00:00-03:00\",\n  \"estado\": \"parcialmente nublado con neblina\",\n  \"visibilidad\": 10,\n  \"temperatura\": 2.0,\n  \"termica\": -3.0,\n  \"humedad\": 80,\n  \"velocidad\": 22,\n  \"direccion\": \"noroeste\",\n  \"presion\": 967.6\n}\n```\n\n\n## Command line Use\n\n```console\n$ smnar actual\n$ smnar alerta365\n$ smnar temperatura365\n$ tsmnar radiacion\n$ tsmnar estaciones\n$ tsmnar licensia\n$ tsmnar ayuda\n```\n\n- All units are Metric. ~`111` Lines of code.\n- Functions return JSON.\n- Functions wont need arguments.\n- Temperature is Celsius.\n- `\"velocidad\"` is Wind Speed, `\"direccion\"` is Wind Direction.\n- It is not documented when the data for current day becomes available, if you get errors use `fecha = now() - 1.days` for yesterdays data.\n- At the time of writing some API endpoints wont work, then are not implemented on the code.\n\n\n# Documentation\n\n- https://juancarlospaco.github.io/nim-smnar\n\n\n# SSL\n\n- Compile with `-d:ssl` to use HTTPS and SSL.\n\n\n# Install\n\n- `nimble install smnar`\n\n\n# See also\n\n- https://github.com/juancarlospaco/nim-openweathermap#nim-openweathermap\n- https://github.com/juancarlospaco/nim-open-elevation#nim-open-elevation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuancarlospaco%2Fnim-smnar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuancarlospaco%2Fnim-smnar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuancarlospaco%2Fnim-smnar/lists"}