Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/carrafa/foursquarego
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.
go get -u github.com/peppage/foursquarego
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",
})
FAQs
Unknown package
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.