🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github.com/shredd0r/weather-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/shredd0r/weather-api

v1.0.0
Source
Go
Version published
Created
Source

Weather Api

Microservice which can return today, hourly and daily weather forecast by http apies. This service has 4 apies:

  • Get today weather forecast
  • Get hourly weather forecast (3 days)
  • Get daily weather forecast (10 days)
  • Get place id by your city details

For details about apies, see src/main.py You can find controllers for all apies with documentation.

Requirements

  • Docker Engine

Steps to run

  • Build Dockerfile image
    docker build -t weather-api:v1.0.0 .
  • Start image
    docker run -p 8000:8000 {image_id}

FAQs

Package last updated on 23 Jun 2025

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