spyserp/phpclient

Client API for Spyserp.com

Maintainers

Package info

github.com/SpySerp/spyserp-php-client

Issues

Documentation

pkg:composer/spyserp/phpclient

Statistics

Installs: 1 282

Dependents: 0

Suggesters: 0

Stars: 3

1.0.0 2017-12-26 14:38 UTC

This package is not auto-updated.

Last update: 2026-03-15 13:42:21 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);