Download the PHP package serphouse/serphouse-php without Composer
On this page you can find all versions of the php package serphouse/serphouse-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download serphouse/serphouse-php
More information about serphouse/serphouse-php
Files in serphouse/serphouse-php
Package serphouse-php
Short Description Automate your search engines (Google, Bing, Yahoo) result (serp api) using Serphouse.com API client and retrive in structured JSON format.
License MIT
Homepage https://github.com/SERPHouse/serphouse-php
Informations about the package serphouse-php
serphouse-php
SERPHouse API is the starting point on your journey towards building a powerful SEO software. With SERPHouse you can get all the data you’d need to build an efficient application while also saving your time and your budget.
This comprehensive document designed to provide you with all the technical information as well as product information you need to interact with our API and harness its full potential. Whether you're a software developer integrating SERPHouse SERP API services into your application or a curious user exploring the possibilities, this API documentation will serve as your go-to resource.
High Volume SERP API for SEO professionals and data scientist. We built reliable, accurate and cost efficient solution, We take cares of resolving captcha, managing proxy to ensure you get reliable Structured JSON data.
This API supported Serphouse's standard REST API that accepts/returns JSON requests. Here is the API reference
Get started
Using the Serphouse API wrapper for PHP is straightforward. Follow these steps to integrate it into your project:
Documentation
Documentation for Serphouse's API and its usage is available at https://docs.serphouse.com/
Prerequisites
- PHP >= 7.2
Installation
You can install the Serphouse PHP package via Composer. Run the following command in your project directory:
Usage
you need to load the dependency in your script.
After installing the package, you can set up the Serphouse client in your code like this:
Replace 'YOUR_API_KEY' with your actual Serphouse API key.
Get API Key
You can obtain an API key by registering at https://app.serphouse.com/register. This key will be required for accessing the API.
Examples
-
Serp Api
-
Domains List
-
Languages List
-
Locations List
-
Account Info
- Trend Api
Serp Api
1. SERP Live
If you need to get response by responseType HTML or Json then you can use Like Below Example:
2. SERP Schedule
3. SERP Check
4. SERP Get
If you need to get response by responseType HTML or Json then you can use like below example:
Domains List
1. Get Domains List
Languages List
1. Get Languages List
If you need to get Languages List by google, bing and yahoo then you can use like below example:
Locations List
1. Get Locations List
If you need to get Locations List by google, bing and yahoo then you can use like below example:
Account Info
1. Get Account Information
Trend Api
1. Trend Search
2. Trend Schedule
3. Get TimeZone List
4. Get Categories List
5. Get Country and State List
6. Get Language List
7. Trends Check
8. Trends Get
Response
Example of success response.
Example of validation errors response.
You need to manage the response.
-
get response status code using
getStatusCode()
function -
get response using
getResponse()
function and you will get Json string - get error message using
getErrorMessage()
function and you will get Json string
Exception Classes
SERPHouseNotFoundException
This exception is thrown when the requested call is not found.
SERPHousePaymentRequiredException
This exception is thrown when payment is required to access the requested call.
SERPHouseRateLimitExceededException
This exception is thrown when the rate limit for API requests has been exceeded in the SERP House API. For more information about rate limit check this https://docs.serphouse.com/introduction/rate-limits
SERPHouseServerErrorException
This exception is thrown when there is an internal server error.
SERPHouseUnauthorizedException
This exception is thrown when the request is unauthorized to access the requested call or Invalid API Key.