nav / wunderlist
dev-master
2016-08-19 14:33 UTC
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/orm: ^2.5
- guzzlehttp/guzzle: ~6.0
- guzzlehttp/oauth-subscriber: 0.3.*
- incenteev/composer-parameter-handler: ^2.0
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0.2
- symfony/monolog-bundle: ^2.8
- symfony/swiftmailer-bundle: ^2.3
- symfony/symfony: 3.0.*
Requires (Dev)
- sensio/generator-bundle: ^3.0
- symfony/phpunit-bridge: ^3.0
This package is not auto-updated.
Last update: 2024-09-18 20:02:03 UTC
README
这是一个于2016年5月15日,下午1:51创建的Symfony项目。
备注
- 使用Wunderlist API创建任务、列表和提醒
- 处理资源和使用任务、列表和提醒的有用方法的客户端
- 使用GuzzleHttp客户端通过OAuth 2.0使用Wunderlist
- 目标是自动化外部事件的任务创建
- 使用Guzzle作为HTTP客户端
待办事项
创建客户端以轻松访问任务/列表等根据应用程序中的错误/问题自动执行任务在控制中心为每个应用程序创建新的任务/列表
示例
// Get the Wunderlist Task Service
$taskService = $this->get('nav_wunderlist.tasks');
// You should probably want to give this your own implementation
$client = $taskService->getWunderlistAccountForTesting();
// Retrieve lists for user
$lists = $taskService->getLists();
// Retrieve tasks for a list
$tasks = $taskService->getTasksForListId("WUNDERLIST-LIST-ID");
// Retrieve files in a list
$files = $taskService->getFilesForListId("WUNDERLIST-LIST-ID");
// Create a new Task within a list
$newTask = $taskService->createTask("WUNDERLIST-LIST-ID", "Nieuwe taak via API");
// Create a new List
$newList = $taskService->createList("Mijn nieuwe lijst");