Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The library provides convenient access to the Outscraper API from applications written in server-side JavaScript. Allows using Outscraper's services from your code.

License

NotificationsYou must be signed in to change notification settings

outscraper/outscraper-node

Repository files navigation

The library provides convenient access to theOutscraper API from applications written in server-side JavaScript. Allows usingOutscraper's services from your code.

screencast

Installation

Install the package with:

npm install outscraper --save# Oryarn add outscraper

Link to the NPM package page

Initialization

constOutscraper=require('outscraper');// Or using ES modules:importOutscraperfrom'outscraper';letclient=newOutscraper('SECRET_API_KEY');

Link to the profile page to create the API key

Usage

// Search for businesses in specific locations:client.googleMapsSearch(['restaurants brooklyn usa'],limit=20,language='en',region='us').then(response=>{console.log(response);});// Or using ES modules and async/await:(async()=>{constresponse=awaitclient.googleMapsSearch(['restaurants brooklyn usa'],limit=20,language='en',region='us');console.log(response);})();// Get data of the specific place by idclient.googleMapsSearch(['rChIJrc9T9fpYwokRdvjYRHT8nI4'],language='en').then(response=>{console.log(response);});// Get reviews of the specific place by idclient.googleMapsReviews(['rChIJrc9T9fpYwokRdvjYRHT8nI4'],reviewsLimit=20,language='en').then(response=>{console.log(response);});// Search contacts from websiteclient.emailsAndContacts(['outscraper.com']).then(response=>{console.log(response);});

More examples

Contributing

Bug reports and pull requests are welcome on GitHub athttps://github.com/outscraper/outscraper-node.

About

The library provides convenient access to the Outscraper API from applications written in server-side JavaScript. Allows using Outscraper's services from your code.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp