New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/4lexRossi/weather-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/4lexRossi/weather-api

  • v0.0.0-20241129223159-c00816195afc
  • Source
  • Go
  • Socket score

Version published
Created
Source

Weather API

Este é um sistema em Go que recebe um CEP, consulta o clima na cidade associada e retorna a temperatura em Celsius, Fahrenheit e Kelvin.

Como rodar a aplicação

  1. Clone o repositório.
  2. Defina a variável de ambiente WEATHER_API_KEY com sua chave da API WeatherAPI.
  3. Execute os comandos:

Rodar localmente

go run main.go

# Ou, se preferir, use o Docker
docker build -t weather-api .
docker run -p 8080:8080 weather-api

Como acessar live

  1. https://weather-api-jlasj72npq-uc.a.run.app/weather?cep=<Cep no formato: 00000-00>

FAQs

Package last updated on 29 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc