spyserp/phpclient

Client API for Spyserp.com

Installs: 1 280

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

pkg:composer/spyserp/phpclient

1.0.0 2017-12-26 14:38 UTC

This package is not auto-updated.

Last update: 2025-10-12 11:31:51 UTC


README

This client assists in making calls to spyserp.com API.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --dev --prefer-dist spyserp/phpclient

or add

"spyserp/phpclient": "~1.0.0"

to the require-dev section of your composer.json file.

Usage

<?php
require_once 'SpySerp.php';

$apiCode = 'your-api-code';
$aparser = new SpySerp($apiCode);


// Return array of all used search engines from SpySerp.com
$result = $aparser->searchEngines();

$projectId = 12345;
// Return data categories of project with id = 12345 if you can view this project
$result = $aparser->projectCategories($projectId);