šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

github.com/tkmsaaaam/weather-api-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tkmsaaaam/weather-api-go

v0.0.0-20240824065751-5c88bf31834a
Source
Go
Version published
Created
Source

weather-api-go

This is the weather.tsukumijima.net library for Go.

Installation

go get github.com/tkmsaaaam/weather-api-go

Usage

package main

import (
	"fmt"
	"github.com/tkmsaaaam/weather-api-go"
)

const tokyo = "130010"

func main() {
	client := weather.New()
	body, err := client.Get(tokyo)
	if err != nil {
		fmt.Println("Error Request API")
	}
	fmt.Println(body.Title)
}

License

MIT

Author

tkmsaaaam

Server

FAQs

Package last updated on 24 Aug 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