承接 outscraper/google-maps-scraper-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

outscraper/google-maps-scraper-php

最新稳定版本:v4.2.7

Composer 安装命令:

composer require outscraper/google-maps-scraper-php

包简介

PHP bindings for the Outscraper API

README 文档

README

The library provides convenient access to the Outscraper API from applications written in the PHP language. Allows using Outscraper's services from your code.

API Docs

screencast

Installation

Composer

You can install the bindings via Composer. Run the following command:

composer require outscraper/outscraper

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Manual Installation

If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file.

require_once('/path/to/outscraper-php/init.php');

Link to the PHP package page

Initialization

$client = new OutscraperClient("SECRET_API_KEY");

Link to the account page to create the API key

Google Maps Scraper

Scrape Google Mpas results bu query "asian restaurants Berlin, Germany".

$results = $client->google_maps_search(['asian restaurants Berlin, Germany'], 'en', 'DE');

print_r($results);

Google Maps Reviews Scraper

Scrape Google Mpas reviews from Statue of Liberty National Monument.

$results = $client->google_maps_reviews([
    'https://www.google.com/maps/place/Statue+of+Liberty+National+Monument/@40.6892494,-74.0466891,17z/data=!3m1!4b1!4m5!3m4!1s0x89c25090129c363d:0x40c6a5770d25022b!8m2!3d40.6892494!4d-74.0445004'
], limit: 10, sort: 'newest');
// you can use direct links, IDs, or names as input for query

print_r($results);

Scrape Emails & Contacts from domains.

$results = $client->emails_and_contacts([
    'outscraper.com'
]);

print_r($results);

More examples

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/outscraper/outscraper-php.

统计信息

  • 总下载量: 5.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 0
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固