bitween-software/majestic-api-php-client
Composer 安装命令:
composer require bitween-software/majestic-api-php-client
包简介
PHP Client for the Majestic HTTP API. Forked from majestic/PHP-API-Connector.
README 文档
README
Use the https://majestic.com connectors to access web data from one of the largest web indexes available. The Majestic® search engine is mainly used to instantly provide Flow Metrics® which evaluate the any page on the Internet in scores between 0 and 100.
For set up
You will need PHP7 for this API-Connector. Also you may need to configure your Environment variables so that PHP is in your PATH.\
To use the API call the following in your project:
require_once 'majesticseo-external-rpc/APIService.php';
Examples
There are a few examples of using the API-Connector in the following scripts:
- GetIndexItemInfo.php
- The GetIndexItemInfo command provides data on the number of backlinks to any web page or site, linking domains and the main topics for that page or web site
- GetBackLinkData.php
- GetBacklinkData will return rows of data with information about all the pages linking to a given URL or domain
You can run the examples via the terminal like this >php GetIndexItemInfo.php
Further notes
The API returns data in UTF-8 format this may have issues with printing non unicode characters when using version of PHP earlier than 7.
For further information see api documentation @ https://developer-support.majestic.com/
统计信息
- 总下载量: 89
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-05-26