Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arturnawrot/screenshot
PHP - Take a screenshot of a webpage using Google API
https://github.com/arturnawrot/screenshot
Last synced: 9 days ago
JSON representation
PHP - Take a screenshot of a webpage using Google API
- Host: GitHub
- URL: https://github.com/arturnawrot/screenshot
- Owner: arturnawrot
- Created: 2019-12-28T17:58:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:25:34.000Z (over 1 year ago)
- Last Synced: 2024-10-12T10:45:19.791Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-screenshot
Take a screenshot of a webpage using Google API```composer require arturek1/screenshot```
```php
require __DIR__ . '/vendor/autoload.php';use Arturek1\Screenshot\Screenshot;
$key = "GOOGLE API KEY";
$url = "https://tvn24.pl";
$screenshot = new Screenshot($key);
$base64 = $screenshot->get($url);echo $base64;
```