Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/raja/foursquarego

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/raja/foursquarego

  • v3.1.0+incompatible
  • Source
  • Go
  • Socket score

Version published
Created
Source

Foursquarego Build Status GoDoc Go Report Card

Foursquarego is a simple Go package for accessing theFoursquare API.

If you find any errors please create an issue, the foursquare API has different types even for things with the same name.

Install

go get -u github.com/peppage/foursquarego

Usage


    httpClient := http.DefaultClient
    // When creating the client you can specify either clientSecret or the accesstoken
    client := foursquarego.NewClient(httpClient, "foursquare", "clientId", "clientSecret", "")

    // Get venue details
    venue, resp, err := client.Venues.Details("57d1efb5498e018d15de8ba3")
    
    // Search Venues
    venues, resp, err := client.Venues.Search(&VenueSearchParams{
		LatLong: "40.7,-74",
		Query:   "singlecut",
	})

License

MIT License

FAQs

Package last updated on 19 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc