New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fourplaces

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fourplaces

Foursquare Places API wrapper for Node.js

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Fourplaces

Foursquare Places API wrapper for Node.js.

Docs

Documentation

Authentication

Internationalization

Versioning

Prerequisites

  • Node.js

Installation

npm install fourplaces

Credentials

1. Foursquare

# Account
Create an Foursquare account on https://foursquare.com/developers/signup.

# Create App
Create A New Foursquare App on https://pt.foursquare.com/developers/apps.

# Client ID and Secret
Obtain an Client ID and Secret on https://pt.foursquare.com/developers/apps.

Examples

const Fourplaces = require('fourplaces');

const fourplaces = new Fourplaces({
    client_id: 'CLIENT_ID',
    client_secret: 'CLIENT_SECRET',
    redirect_uri: 'REDIRECT_URI',
    locale: 'LOCALE',
    version: 'VERSION'
});

(async () => {
  try {
    const venues = await fourplaces.venues().explore({
      query: 'Café',
      near: 'Pato Branco, PR',
    });

    console.log(venues);
  } catch (error) {
    console.error(error);
  }
})();

Built With

Authors

Acknowledgments

Keywords

FAQs

Package last updated on 14 Aug 2021

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