-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df4cef2
commit a045760
Showing
5 changed files
with
95 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
{ | ||
"name": "outscraper/google-maps-scraper-php", | ||
"description": "PHP SDK that allows scraping Google Maps and Google Reviews via Outscraper API.", | ||
"name": "outscraper/outscraper", | ||
"description": "PHP bindings for the Outscraper API", | ||
"require": { | ||
"php": ">=7.4" | ||
}, | ||
"keywords": [ | ||
"Google", | ||
"Outscrpaer", | ||
"Google Maps", | ||
"Google Reviews", | ||
"Google Maps scraper", | ||
"Google Reviews scraper", | ||
"outscraper", | ||
"google Maps", | ||
"google maps scraper", | ||
"google reviews scraper", | ||
"scrape google maps", | ||
"Google Places" | ||
"google", | ||
"scraper", | ||
"extractor", | ||
"webscraper" | ||
], | ||
"homepage": "https://github.com/outscraper/google-maps-scraper-php", | ||
"homepage": "https://outscraper.com/", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Vlad", | ||
"name": "Outscraper", | ||
"role": "Developer", | ||
"email": "vlad@outscraper.com" | ||
"email": "support@outscraper.com" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/outscraper/google-maps-scraper-php/issues" | ||
"issues": "https://github.com/outscraper/outscraper-php/issues" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"google-maps-scraper.php" | ||
"outscraper.php" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Emails And Contacts Scraper With PHP | ||
|
||
Allows finding email addresses, social links, and phones from domains via [Outscraper API](https://app.outscraper.com/api-docs#tag/Emails-and-Contacts). | ||
|
||
## Installation | ||
|
||
### Composer | ||
|
||
You can install the bindings via [Composer](http://getcomposer.org/). Run the following command: | ||
|
||
```bash | ||
composer require outscraper/outscraper | ||
``` | ||
|
||
To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading): | ||
|
||
```php | ||
require_once('vendor/autoload.php'); | ||
``` | ||
|
||
### Manual Installation | ||
|
||
If you do not wish to use Composer, you can download the [latest release](https://github.com/outscraper/outscraper-php/releases). Then, to use the bindings, include the `init.php` file. | ||
|
||
```php | ||
require_once('/path/to/outscraper-php/init.php'); | ||
``` | ||
[Link to the PHP package page](https://packagist.org/packages/outscraper/outscraper) | ||
|
||
## Usage | ||
|
||
```php | ||
# Search contacts from website: | ||
result = client.emails_and_contacts(['outscraper.com']) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
|
||
require __DIR__ . '/outscraper.php'; |
Oops, something went wrong.