Yahoo!校正支援APIを利用するデスクトップアプリをFletで作ってみる。
-
アプリケーションを登録してアプリIDを取得する
-
main.py
と同ディレクトリに.env
ファイルを作り、アプリIDを下記のように指定するYAHOO_APPID=(ここにアプリIDを入れる)
-
必要なパッケージをインストールする
pip install flet pip install python-dotenv
-
下記コマンドを実行すると、
dist
ディレクトリ内にyahoo-proof.exe
がビルドされるflet pack main.py --name yahoo-proof
クレジット:
Webサービス by Yahoo! JAPAN (https://developer.yahoo.co.jp/sitemap/)