Todoist REST API の公式 Python API クライアント「todoist-api-python」のインストール

スポンサーリンク

Todoist REST API の公式 Python APIクライアント「todoist-api-python」のインストールについて解説しています。

「todoist-api-python(https://github.com/Doist/todoist-api-python)」は、Todoist REST API の Pythonラッパーです。

■Python

今回のPythonのバージョンは、「3.8.5」を使用しています。(Windows10)(pythonランチャーでの確認)

■todoist-api-pythonをインストールする

todoist-api-pythonをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。

pip install todoist-api-python

起動後、上記のコマンドを入力し、Enterキーを押します。

なお、今回は、pythonランチャーを使用しており、Python Version 3.8.5にインストールを行うために、バージョンの切り替えを行います。

py -3.8 -m pip install todoist-api-python

切り替えるために、上記のコマンドを入力し、Enterキーを押します。

Defaulting to user installation because normal site-packages is not writeable
Collecting todoist-api-python
Downloading todoist_api_python-1.1.1-py3-none-any.whl (11 kB)
Collecting attrs<22.0.0,>=21.2.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Requirement already satisfied: requests<3.0.0,>=2.26.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from todoist-api-python) (2.28.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests<3.0.0,>=2.26.0->todoist-api-python) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests<3.0.0,>=2.26.0->todoist-api-python) (1.26.11)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests<3.0.0,>=2.26.0->todoist-api-python) (2.1.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests<3.0.0,>=2.26.0->todoist-api-python) (2022.6.15)
Installing collected packages: attrs, todoist-api-python
Successfully installed attrs-21.4.0 todoist-api-python-1.1.1

Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、todoist-api-pythonが正常にインストールされたことになります。

なお、今回はtodoist-api-pythonのバージョン1.1.1をインストールしました。

コメント

タイトルとURLをコピーしました