【问题标题】:SDK Evernote PHP - Search for notes only within a given stackSDK Evernote PHP - 仅在给定堆栈中搜索笔记
【发布时间】:2018-07-14 02:51:13
【问题描述】:

我正在使用 evernote API 来搜索笔记。我想知道如何仅在给定堆栈中搜索笔记。

目前我有以下代码:

$client = new \Evernote\Client(config('app.evernote_token'), false);

$search = new \Evernote\Model\Search('ftp');
$notebook = null;
$scope = \Evernote\Client::SEARCH_SCOPE_NONE;
$order = \Evernote\Client::SORT_ORDER_REVERSE | \Evernote\Client::SORT_ORDER_RECENTLY_CREATED;
$maxResult = 50;

$results = $client->findNotesWithSearch($search, $notebook, $scope, $order, 
$maxResult);
print_r($results);

【问题讨论】:

    标签: evernote


    【解决方案1】:

    解决如下:

    $search = new \Evernote\Model\Search('stack:"Palavra-chave"');
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-05-19
      • 1970-01-01
      • 2017-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-14
      • 1970-01-01
      相关资源
      最近更新 更多