Skip to content

Golang package for Google Maps Place Autocomplete

License

Notifications You must be signed in to change notification settings

ramadani/gmplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmplace

Golang package for Google Maps Place Autocomplete

Installation

go get github.com/ramadani/gmplace

Usage

import "github.com/ramadani/gmplace"

gmplace := gmplace.New("YOUR_GOOGLE_API_KEY")
res, err := gmplace.Autocomplete(map[string]string{
  "input":    "your keyword",
  "language": "your language id",
})

if err != nil {
  log.Println(err)
}

// do something with res

For result response, you can see it at https://developers.google.com/places/web-service/autocomplete#place_autocomplete_responses

License

This library is distributed under the MIT license.

About

Golang package for Google Maps Place Autocomplete

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages