* here [https://www.intellipush.com/terms/]. This copyright notice * shall be included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * */ use Intellipush\Url; // YOU CAN COPY EVERYTHING FROM "00-config.php" AND PASTE IT HERE INSTEAD include_once '00-config.php'; $url = new Url(); $target = []; $target['contact_id'] = 'X'; // Optional $target['email'] = ''; // Optional $target['countrycode'] = ''; // Optional $target['phonenumber'] = ''; // Optional $url->target($target); $url->items(50); $url->page(1); $response = $intellipush->read($url); echo '<pre>'; print_r($response);