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

node-apontador

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-apontador

Node.js module for interacting with Apontador API v2.0

  • 1.8.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Node Apontador - build status

Node.js module for interacting with Apontador API v2.0

Install

npm install node-apontador --save

Usage

	var apontador = require('apontador');

	var client = apontador.createClient({
		clientSecret: 'nId4d7RfOyTWxSeZoIkTFskw0xT~',
        clientId: 'test_node_apontador'
	});

	client.search({q:'Place to find'}, function(err, sucess){
		if (err) {
			throw err;
		}

		console.log(sucess);
	});

Usage

  • Search

client.search({ q : 'mazza restaurante', fq : 'address.city:"santo andre"' }, function() {
	if (err) {
		throw err;
	}

	console.log(sucess);
});
  • Search for addresses
apt.addresses({ q : 'Av. Paulista', fq : 'address.city:"Sao Paulo"' }, function(err, sucess) {

    if (err) {
        throw err;
    }

    console.log(sucess);
});
  • Search a place for a ID

apt.getPlaceById('C408483939344N344B', function(err, sucess) {

    if (err) {
        throw err;
    }

    console.log(sucess);
});

  • Search for photos
// Send placeID to get photos
apt.getPlacePhotos('C408483939344N344B', function(err, sucess) {

    if (err) {
        throw err;
    }

    console.log(sucess);
});
  • Search for a zipcode
// Send a brazilian zipcode to get places.
apt.getPlacesByZipcode('09090780', function(err, sucess) {

    if (err) {
        throw err;
    }

    console.log(sucess);
});
  • Search for a zipcode
// Send placeID to get reviews
apt.getPlaceReview('C408483939344N344B', function(err, sucess) {

    if (err) {
        throw err;
    }

    console.log(sucess);
});

Informations

You can get more informations about Apontador API here. Apontador is a Brazilian local search, and only list at moment places in Brazil.

This software is not provide by Apontador or yours employees.

Keywords

FAQs

Package last updated on 14 Jun 2016

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