Download the PHP package megaads/apify-client-php without Composer
On this page you can find all versions of the php package megaads/apify-client-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download megaads/apify-client-php
More information about megaads/apify-client-php
Files in megaads/apify-client-php
Package apify-client-php
Short Description Apify client for PHP
License MIT
Homepage https://www.megaads.vn
Informations about the package apify-client-php
Apify Client for PHP
Installation
System requirements
- PHP: >= 5.6
- Laravel/ Lumen Framework: 4.* or newer
Require the composer package
`composer require megaads/apify-client-php`
Create query builder
Add custom field
Add a custom parameter to request URL
Get request URL
The simplest method to see the generated request URL
Pagination
Parameter | Required | Default | Description |
---|---|---|---|
page_id | No | 0 | Page index, start at 0 |
page_size | No | 50 | Number of rows to retrieve per page |
Sorting
Sort ascending
Sort descending
Sort by multiple columns
Selection
Select columns from the records. SQL aggregate functions such as COUNT
, MAX
, MIN
, SUM
, AVG
, SQL aliases are also available
Group By
Group the result-set by one or more columns and combine with aggregate functions using Selection
Filtering
Operator | Condition | For example |
---|---|---|
Client::SELECTION_EQUAL | Equal to | |
Client::SELECTION_NOT_EQUAL | Not equal | |
Client::SELECTION_GREATER | Greater | |
Client::SELECTION_GREATER_EQUAL | Greater or equal | |
Client::SELECTION_LESS | Less | |
Client::SELECTION_LESS_EQUAL | Less or equal | |
Client::SELECTION_IN | In | |
Client::SELECTION_NOT_IN | Not in | |
Client::SELECTION_BETWEEN | Between | |
Client::SELECTION_NOT_BETWEEN | Not between | |
Client::SELECTION_LIKE | Like | |
Client::SELECTION_NOT_LIKE | Not like |
Relationships
Apify provides the ability to embed relational data into the results
For example
Filtering on relationships
Retrieve data
Find: Retrieve single record
Get: Retrieve all records that match the query
Response format
First: Retrieve the first record that matchs the query
Response format
Count: Retrieve the number of records that match the query
Response format
Increment/ Decrement: Provides convenient methods for incrementing or decrementing the value of a selected column
Response format
Send custom request
License
The Apify is open-sourced software licensed under the MIT license
Contact us/ Instant feedback
Email: [email protected]
Skype: phult.bk