Skip to content

sgarcez/gmapsign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmapsign

Go Report Card

gmapsign is a Go pkg and cli tool to sign Google Maps API request URLs.

This is required when using:

  • A client ID with the web service APIs, Maps Static API, or Street View Static API

  • An API key with the Maps Static API or Street View Static API

Installation

Go Get

go install github.com/sgarcez/gmapsign/cmd/gmapsign@latest

Usage

echo "https://maps.googleapis.com/maps/api/staticmap?center=40.714%2C+-73.998&client=myclient&size=400x400&zoom=12" \
  | gmapsign -key bXlrZXk=

https://maps.googleapis.com/maps/api/staticmap?center=40.714%2C+-73.998&client=myclient&size=400x400&zoom=12&signature=C1UG9w-v41q7i1lISpZsw1xzOV8=

About

Go pkg and cli tool to sign Google Maps API URLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages