bshaffer/apiclient-mybusiness-service
最新稳定版本:v0.1
Composer 安装命令:
composer require bshaffer/apiclient-mybusiness-service
包简介
Client library for Google MyBusiness API
关键字:
README 文档
README
Google MyBusiness Client Library for PHP
IMPORTANT: This is a fork of the Google API PHP Client, but with support for a previous (and currently deprecated) API with existing non-deprecated endpoints. See googleapis/google-api-php-client-services#580
Installation
Composer
You can install via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
composer require bshaffer/apiclient-mybusiness-service
Be sure to include the autoloader:
require_once '/path/to/your-project/vendor/autoload.php';
Examples
Here is an example of how to use the MyBusiness API:
require 'vendor/autoload.php'; $client = new Google\Client(); $mybusiness = new Google_Service_MyBusiness($client); $parent = 'accounts/{YOUR_ACCOUNT}/locations/{YOUR_LOCATION}'; $response = $mybusiness->accounts_locations_reviews->listAccountsLocationsReviews($parent);
See the google-api-php-client repo for more usage instructions.
Cleaning up unused services
There are over 200 Google API services. See the google-api-php-client README for how to clean them up.
统计信息
- 总下载量: 20.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-12-15