deploykit/telegraph-api
Composer 安装命令:
composer require deploykit/telegraph-api
包简介
README 文档
README
This package lets you work with telegra.ph API.
Contents
Installation
To get the latest version of Telegra.ph API client simply require the project using Composer:
$ composer require deploykit/telegraph-api
Or you can manually update your require block and run composer update if you choose so:
{
"require": {
"deploykit/telegraph-api": "~1.1.0"
}
}
Usage
All methods in Telegraph Client class correspond to API methods that are described in Telegraph API documentation.
$telegraph = new \Deploykit\Telegraph\Client(); $telegraph->createAccount('Author', 'Author name', 'http://example.com');
All entities' classes implement ArrayAccess, so any property of any class can be accessed either in object style or in array style.
For all methods that require access_token, you can either provide a string with your token or provide instance of \Deploykit\Telegraph\Entities\Account class.
Changelog
Please see CHANGELOG for more information what has changed recently.
Roadmap
All future features are documented in Roadmap GitHub project.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 210
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-20