Skip to content

sugamon/google-places-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-places-api

google-places-api is a Google Places API wrap in Go

Installation

go get github.com/sugamon/google-places-api

Provides API

  • TextSearch

Usage

TextSearch

import (
	"context"
	places "github.com/sugamon/google-places-api"
)

apiKey := os.Getenv("API_KEY")
p := places.NewClient(apiKey)

optionalParams := places.OptionalParams{
  Language: "en",
  Location: "uk",
}

res, err := p.TextSearch(context.Background(), "london beer", optionalParams)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published