dongshie8450 2013-03-26 07:04
浏览 23

Evernote与PHP集成

I have successfully done with the authentication of Evernote with PHP.

And I have got this response.

Array ( [oauth_token] => S=s1:U=6316e:E=144fcfdfdb9:C=13da54cd1ba:P=185:A=maheshchari-2599:V=2:H=6da806fe92b9289cf0334f04e2afdc55 [oauth_token_secret] => [edam_shard] => s1 [edam_userId] => 405870 [edam_expires] => 1395813907897 [edam_noteStoreUrl] => https://sandbox.evernote.com/shard/s1/notestore [edam_webApiUrlPrefix] => https://sandbox.evernote.com/shard/s1/ )  

Now, I want the list of notebooks of the user which has been authenticated with evernote.

I have done a lot of research online but I couldnt find any thing which helps, I have came to know that guid is necessary to get the list of notebooks.

From where I can find that? And how can i access the notestore and userstore?

How can i call the functions of notestore and userstore to fetch the data of user's account and user's notes in php?

Thanks in Advance.

  • 写回答

2条回答 默认 最新

  • doufocheng6233 2013-03-26 19:33
    关注

    Using the Evernote SDK for PHP, you can list notebooks like the way below:

    $client = new Client(array('token' => $authToken));
    $noteStore = $client->getNoteStore();
    $notebooks = $noteStore->listNotebooks();
    

    All the API references can be found here.

    Also, you shouldn't make your token public. Please make sure your token string you put can't be used any more. If you need more help on this, you can get supports from Evernote developer support.

    评论

报告相同问题?

悬赏问题

  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题