SkillAgentSearch skills...

Geo

Simple go wrapper for Google Geocoder API

Install / Use

/learn @jasonmoo/Geo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

geo

Just a simple go wrapper for the Google Geocoding API (https://developers.google.com/maps/documentation/geocoding/)

Usage:

package main

import 	(
	"fmt"
	"github.com/jasonmoo/geo"	
)

add, err := geo.Geocode("555 w 18th st, ny, ny")

fmt.Println(add)

add2, err2 := geo.ReverseGeocode("40.7453721,-74.0078293")

fmt.Println(add2)

>> &geo.Address{Lat:40.7453721, Lng:-74.0078293, Address:"555 W 18th St, New York, NY 10011, USA", Response:(*geo.Response)(0x11185d60)}

Related Skills

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated2y ago
Forks4

Languages

Go

Security Score

75/100

Audited on Nov 10, 2023

No findings