LoginSignup
4
8

More than 5 years have passed since last update.

PythonからEvernoteにアクセスする下準備(その1)

Posted at

Evernote上の情報をPythonから参照する個人的ツールが欲しいのでその下準備方法をメモしておく。

環境

Windows10
Python 3.6
PyCharm 2017.3

EvernoteのSandbox環境でユーザーを作成

https://sandbox.evernote.com/ にアクセスしてアカウントを作成

開発用トークンの取得

Sandbox環境にログインした状態で下記URLへアクセスして開発用トークンを発行し、下記2つをメモしておく。

  • Developer Token
  • NoteStore URL:

EvernoteのSDKをインストール

  • PyCharmでSDKのパッケージをインストール
    • File -> Default Settingを選択
    • 左側メニューのProject Interpreter を選択
    • 右側の"+"マークをクリック
    • "evernote"で検索してインストールしているPythonのバージョンのSDKをインストール

githubから動作確認用サンプルのpythonファイルを取得

authToken = "your developer token"

PyCharm上でEDAMTest.pyを実行

https://sandbox.evernote.com/shard/s1/notestore
Found  2  notebooks:
  *  <Inbox>
  *  プロジェクトその1

のようにSandbox上のノートブック一覧が取得出来ている。

4
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
8