PHPackages                             webshotapi/client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. webshotapi/client

ActiveProject

webshotapi/client
=================

Webshotapi Api Client for PHP

v1.1.5(6mo ago)11.6kMITPHPPHP &gt;=8.0CI passing

Since Apr 1Pushed 6mo agoCompare

[ Source](https://github.com/webshotapi/php-client)[ Packagist](https://packagist.org/packages/webshotapi/client)[ Docs](https://webshotapi.com)[ RSS](/packages/webshotapi-client/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (6)Dependencies (2)Versions (27)Used By (0)

WebShotApi.com API client for PHP
=================================

[](#webshotapicom-api-client-for-php)

Capture screenshots and save images in various formats such as JPG, PNG, and PDF effortlessly. Additionally, leverage the capability to extract selectors for every HTML element, complete with coordinates and CSS styles post-browser rendering. Use our Unique AI algorithm to remove cookies banner before take a screenshot.

Installation
============

[](#installation)

```
composer require webshotapi/client
```

Remove cookies popup before take sceenshot
==========================================

[](#remove-cookies-popup-before-take-sceenshot)

[![Remove cookies popup before take screenshot](images/remove-cookies-before-take-screenshot.png)](images/remove-cookies-before-take-screenshot.png)

Utilize an innovative AI algorithm to seamlessly eliminate the obstructive cookies popup before capturing a screenshot. [Read more](http://webshotapi.com/blog/remove-cookies-before-take-screenshot/)

Docs
====

[](#docs)

Full documentation about our api you can find in this website [Website screenshot API DOCS](https://webshotapi.com/docs/)

API KEY
-------

[](#api-key)

Api key you can generate after register. [https://dashboard.webshotapi.com/api\_keys](https://dashboard.webshotapi.com/api_keys)

Usage
-----

[](#usage)

### Record scrolling video and save to mp4 file

[](#record-scrolling-video-and-save-to-mp4-file)

You can convert your HTML page into a scrolling movie.

Example gif: [![](https://raw.githubusercontent.com/webshotapi/php-client/63375165338d074d9b54a076977b489a6d913d2b/images/stripe-video.gif)](https://raw.githubusercontent.com/webshotapi/php-client/63375165338d074d9b54a076977b489a6d913d2b/images/stripe-video.gif)

Link to example mp4:

```
