Download the PHP package dexiio/dexi-api-client without Composer
On this page you can find all versions of the php package dexiio/dexi-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dexiio/dexi-api-client
More information about dexiio/dexi-api-client
Files in dexiio/dexi-api-client
Package dexi-api-client
Short Description Dexi API Client for PHP 5.3+
License MIT
Homepage http://dexi.io
Informations about the package dexi-api-client
dexi-php-client
Dexi API Client for PHP 5.3+
Installation
dexi-php-client is available via composer/packagist as . Install it by adding it to your composer.json file:
or
Example
The following example executes a run and retrieves information for the execution:
Documentation
See the API documentation for details on all namespaces, methods and models. The global API object must be initialized in order to be used:
The following API namespaces are contained in the global class:
These namespaces contain the methods displayed in the API documentation. Models are defined in the namespace.
Migrating from cloudscrape-client-php
Github: cloudscrape/cloudscrape-client-php is now dexiio/dexi-php-client
Packagist: cloudscrape/cloudscrape-api-client is now dexiio/dexi-api-client
If you are currently using cloudscrape-client-php, we strongly suggest you upgrade to this library as cloudscrape-client-php has been deprecated and will no longer be developed, and may not be supported in the future. Most method signatures have changed and we have added PSR-4 namespacing and rebranding to the Dexi name, as well as moving to support PHP7. New classes and methods have also been added.
Old class | New class |
---|---|
CloudScrape | \Dexi\Dexi |
CloudScrapeClient | \Dexi\Client |
CloudScrapeExecutions | \Dexi\Executions |
CloudScrapeRuns | \Dexi\Runs |
\Dexi\Robots | |
\Dexi\DataSets | |
CloudScrapeRunDTO | \Dexi\DTO\RunDTO |
\Dexi\DTO\RunListDTO | |
CloudScrapeResultDTO | \Dexi\DTO\ResultDTO |
CloudScrapeFileDTO | \Dexi\DTO\FileDTO |
CloudScrapeExecutionDTO | \Dexi\DTO\ExecutionDTO |
CloudScrapeExecutionListDTO | \Dexi\DTO\ExecutionListDTO |
\Dexi\DTO\StatsDTO | |
\Dexi\DTO\RobotDTO | |
\Dexi\DTO\DataSetRowSetDTO | |
\Dexi\DTO\DataSetRowQueryDTO | |
CloudScrapeRequestException | \Dexi\Exception\RequestException |
Testing
PHPUnit integration tests are provided in the folder. In order to run them, a file must be created in the top-level folder with the following settings:
Contributing
Please submit bug reports, suggestions and pull requests to through Github.
We are more than happy to examine any pull-requests and appreciate any ideas, comments or suggestions you may have.
License
The library is available as open source under the terms of the MIT License.