nz

node-zagat

Node module to search for and retrieve associated information from restaurants posted on Zagat.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

2

License

MIT

Type Definitions

Tree-Shakeable

No?

Readme

node-zagat

Node module to search for and retrieve associated information from restaurants posted on Zagat.

EXAMPLE USAGE

var zagat = require('node-zagat');

// Get a list of all locations
zagat.getLocations(function (err, locations) {
  if (err) throw err;
  else {

    console.log('LOCATIONS:\n', locations);

    // Set current location to Boston
    zagat.setLocation(locations.Boston, function (err) {
      if (err) throw err;
      else {

        // Search 'palace'
        zagat.searchPlaces('palace', function (err, restaurants) {
          if (err) throw err;
          else {

            console.log('\nRESTAURANTS:\n', restaurants);

          }
        });

      }
    });

  }
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Tutorials

No tutorials found
Add a tutorial