kisscms / google
Google Services for KISSCMS
1.1.0
2013-11-17 08:46 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-09-28 12:26:33 UTC
README
A Google services API streamlined to KISSCMS conventions.
依赖关系
此插件依赖于 Google APIs Client Library for PHP v0.6.7
安装
下载插件和客户端库(如上所述的主要依赖项)后,将插件放置在您的 plugins
文件夹中,将客户端库放置在 lib
文件夹或单独的 SDK 文件夹中。
如果您选择后者,则需要编辑 env.json 以包括 SDK 路径
使用方法
插件预留的命名空间为 Google
要开始使用 API,只需输入
$api = new Google();
方法
以下是在命名空间下可用的方法
- me(): 返回一个对象,表示登录用户,来源于他们的 Google Plus 个人资料。
##致谢
由 Makis Tracend (@tracend) 创建