Skip to content

elbuo8/4square-venues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

4squre-venues GO

This is a simple wrapper for Go on top of the 4^2 venues endpoint.

Installation

go get github.com/elbuo8/4square-venues

Examples

import (
  "fmt"
  "github.com/elbuo8/4square-venues"
)

func main() {
  fs := NewFSVenuesClient(os.Getenv("FOURSQUARE_ID"), os.Getenv("FOURSQUARE_SECRET"))
  params := make(map[string]string)
  params["ll"] = "40.7,-74"
  if v, e := fs.GetVenue(params); e == nil {
    fmt.Println(v)
  } else {
    fmt.Println(e)
  }
}

Contributing

Feel free to make pull requests. Before summitting them, please run:

go test

TODO

  • Unit tests

MIT License

About

Simple Go wrapper around 4square venue endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages