@@ -6,8 +6,8 @@ ASK SDK for Python
66
77**ASK SDK for Python **\ を使うと、ボイラープレートコード(毎回書かなければならないお決まりのコード)を書く手間が不要になります。これにより空いた時間をさまざまな機能の実装に充てることができ、人気のスキルをより簡単に作成できるようになります。
88
9- .. |Build Status | image :: https://img.shields.io/travis/alexa-labs /alexa-skills-kit-sdk-for-python/master.svg?style=flat
10- :target: https://travis-ci.org/alexa-labs /alexa-skills-kit-sdk-for-python
9+ .. |Build Status | image :: https://img.shields.io/travis/alexa/alexa-skills-kit-sdk-for-python/master.svg?style=flat
10+ :target: https://travis-ci.org/alexa/alexa-skills-kit-sdk-for-python
1111 :alt: Build Status
1212.. |Docs | image :: https://img.shields.io/readthedocs/alexa-skills-kit-python-sdk.svg?style=flat
1313 :target: https://alexa-skills-kit-python-sdk.readthedocs.io
@@ -103,33 +103,156 @@ SDKはネイティブのAlexa JSONリクエストおよびレスポンスでは
103103サンプル
104104----
105105
106- `Hello Worldスキルサンプル <https://github.com/alexa/skill-sample-python-helloworld-classes >`__
107- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106+ このセクションでは、ASK SDK for
107+ Pythonを使って魅力的なAlexaスキルを開発する方法を説明するスキルサンプルを紹介します。
108+
109+ `Hello World(クラス使用) <https://github.com/alexa/skill-sample-python-helloworld-classes >`__
110+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111+
112+ このコードサンプルでは、サンプルがトリガーされたときのAlexaの応答を聞くことができます。Alexa
113+ Skills KitやAWS
114+ Lambdaに慣れるための最小限のサンプルです。このサンプルでは、リクエストハンドラーのクラスを使用してスキルを作成する方法を説明します。詳細については、 `リクエスト処理 <REQUEST_PROCESSING.html >`__ を参照してください。
115+
116+ `Hello World(デコレーター使用) <https://github.com/alexa/skill-sample-python-helloworld-decorators >`__
117+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108118
109119このコードサンプルでは、サンプルがトリガーされたときのAlexaの応答を聞くことができます。Alexa
110- Skills KitやAWS Lambdaに慣れるための最小限のサンプルです。
120+ Skills KitやAWS
121+ Lambdaに慣れるための最小限のサンプルです。このサンプルでは、リクエストハンドラーのデコレーターを使用してスキルを作成する方法を説明します。詳細については、 `リクエスト処理 <REQUEST_PROCESSING.html >`__ を参照してください。
111122
112- `カラーピッカースキルサンプル <https://github.com/alexa/skill-sample-python-colorpicker >`__
113- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123+ `カラーピッカー <https://github.com/alexa/skill-sample-python-colorpicker >`__
124+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114125
115126Hello
116- Worldから機能を一歩進めて、ユーザーからの入力をキャプチャーできるようにします。スロットの使い方についても説明します。さらに、セッションアトリビュートと、リクエスト、応答のインターセプターの使い方も説明します。
127+ Worldから機能を一歩進めて、ユーザーが好きな色を指定したら、Alexaが覚えてユーザーに知らせるようにします。ユーザーからの入力をキャプチャーできるようにします。スロットの使い方についても説明します。さらに、セッションアトリビュートと、リクエスト、応答のインターセプターの使い方も説明します。
128+
129+ `ファクト <https://github.com/alexa/skill-sample-python-fact >`__
130+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131+
132+ 基本的な豆知識スキルのテンプレートです。トピックについての豆知識のリストを提供すると、ユーザーがスキルを呼び出したときに、Alexaがリストから豆知識をランダムに選んでユーザーに伝えます。スキルで複数のロケールを使用し国際化する方法を説明します。
133+
134+ `クイズゲーム <https://github.com/alexa/skill-sample-python-quiz-game >`__
135+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136+
137+ 基本的なクイズゲームスキルのテンプレートです。あらかじめ提供しておいた豆知識のリストの中から、Alexaがユーザーにクイズを出します。画面付きのAlexa搭載デバイスでの表示をサポートする、テンプレートレンダリングディレクティブの使い方について説明します。
138+
139+ `デバイスのアドレス <https://github.com/alexa/alexa-skills-kit-sdk-for-python/tree/master/samples/GetDeviceAddress >`__
140+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141+
142+ ユーザーのデバイス設定で設定したアドレスをリクエストし、設定されたアドレスにアクセスするサンプルスキルです。SDKを使用したAlexa
143+ APIの使い方について説明します。詳細については、\ `Alexaサービスクライアント <SERVICE_CLIENTS.html >`__\ を参照してください。
144+
145+ `スキル内課金を使用した豆知識 <https://github.com/alexa/skill-sample-python-fact-in-skill-purchases >`__
146+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147+
148+ `スキル内課金 <https://developer.amazon.com/docs/in-skill-purchase/isp-overview.html >`__ 機能を使用した豆知識スキルのサンプルです。購入を促進するさまざまなパックや、パックを一括でロック解除するサブスクリプションを提供します。収益化Alexaサービスの呼び出し方とASK
149+ CLIを使ってスキル内課金を有効にする方法を説明します。
150+
151+ `シティガイド <https://github.com/alexa/skill-sample-python-city-guide >`__
152+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153+
154+ 周辺地域のお勧め情報スキルのテンプレートです。Alexaはユーザーのリクエストに従って、開発者が提供したデータからお勧め情報をユーザーに知らせます。スキルから外部APIを呼び出す方法を説明します。
117155
118- `ハイ&ローゲームスキルサンプル <https://github.com/alexa/skill-sample-python-highlowgame >`__
119- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156+ `ペットマッチ <https://github.com/alexa/skill-sample-python-petmatch >`__
157+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120158
121- 基本的なハイ&ローゲームスキルのテンプレートです。ユーザーが数字を推測し、Alexaがその数字が正解より大きいか小さいかを答えます 。
159+ ユーザーとペットをマッチングするサンプルスキルです。Alexaは一致するペットを見つけるのに必要な情報をユーザーにたずねます。必要な情報をすべて収集できたら、スキルはデータを外部のウェブサービスに送信し、そこでデータが処理されてマッチングデータが返されます。ダイアログ管理と ` エンティティ解決 < https://developer.amazon.com/docs/custom-skills/define-synonyms-and-ids-for-slot-type-values-entity-resolution.html >`__ を使って、プロンプトを出してユーザーから複数の値を受け取り解析する方法を説明します 。
122160
123- `デバイスアドレスAPIスキルサンプル <https://github.com/alexa/alexa-skills-kit-sdk-for- python/blob/master/samples/GetDeviceAddress >`__
124- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161+ `ハイ&ローゲーム <https://github.com/alexa/skill-sample- python-highlowgame >`__
162+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125163
126- ユーザーのデバイス設定で設定したアドレスをリクエストし、設定されたアドレスにアクセスするサンプルスキルです 。
164+ 基本的なハイ&ローゲームスキルのテンプレートです。ユーザーが数字を推測し、Alexaがその数字が正解より大きいか小さいかを答えます。SDKの永続アトリビュートと永続アダプターの使い方について説明します 。
127165
166+ `AudioPlayer SingleStreamおよびMultiStream <https://github.com/alexa/skill-sample-python-audio-player >`__
167+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
128168
129- より多くのサンプルについては、 `samples <https://alexa-skills-kit-python-sdk.readthedocs.io/en/latest/SAMPLE_SKILLS.html >`_ セクションを見てください。
169+ Alexaの `AudioPlayerインターフェース <https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-audioplayer-interface-reference >`__ と `PlaybackControllerインターフェース <https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-playbackcontroller-interface-reference >`__ を使ってAudioPlayerスキルを開発する方法を説明するスキルサンプルです。SingleStreamスキルサンプルでは、ローカリゼーションのサポート付きでライブラジオスキルを作成する方法を説明します。MultiStreamスキルサンプルでは、録音済みの複数のオーディオストリームを再生できる基本的なポッドキャストスキルを作成する方法を説明します。
170+
171+ `Pager Karaoke <https://github.com/alexa-labs/skill-sample-python-pager-karaoke >`__
172+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173+
174+ このサンプルでは、APLの3つの機能である `Pagerコンポーネント <https://developer.amazon.com/docs/alexa-presentation-language/apl-pager.html >`__ 、 `SpeakItemコマンド <https://developer.amazon.com/docs/alexa-presentation-language/apl-standard-commands.html#speakitem-command >`__ 、スキルコードの `デバイスの特性 <https://developer.amazon.com/docs/alexa-presentation-language/apl-viewport-characteristics.html >`__ へのアクセスについて説明します。
130175
131176------------
132177
178+ SDKでサポートされているAlexaの機能
179+ =======================
180+
181+ このセクションでは、現在SDKでサポートされているAlexaのすべての機能を紹介します。
182+
183+ 正式版
184+ ------
185+
186+ - `Amazon Pay <https://developer.amazon.com/docs/amazon-pay/integrate-skill-with-amazon-pay.html >`__
187+
188+ - `Audio Player <https://developer.amazon.com/docs/custom-skills/audioplayer-interface-reference.html >`__
189+
190+ - `Display – 画面付きデバイス用のBodyテンプレート <https://developer.amazon.com/docs/custom-skills/create-skills-for-alexa-enabled-devices-with-a-screen.html >`__
191+
192+ - `GadgetsGame Engine – Echo Buttons(日本未対応) <https://developer.amazon.com/docs/custom-skills/game-engine-interface-reference.html >`__
193+
194+ - `Directiveサービス(プログレッシブ応答) <https://developer.amazon.com/docs/custom-skills/send-the-user-a-progressive-response.html >`__
195+
196+ - `メッセージ <https://developer.amazon.com/docs/smapi/send-a-message-request-to-a-skill.html >`__
197+
198+ - `収益化 <https://developer.amazon.com/alexa-skills-kit/make-money >`__
199+
200+ - `ビデオ <https://developer.amazon.com/docs/custom-skills/videoapp-interface-reference.html >`__
201+
202+ - `デバイスのアドレス <https://developer.amazon.com/docs/custom-skills/device-address-api.html >`__
203+
204+ - `リスト <https://developer.amazon.com/docs/custom-skills/access-the-alexa-shopping-and-to-do-lists.html#alexa-lists-access >`__
205+
206+ - `ユーザー連絡先情報のリクエスト <https://developer.amazon.com/docs/smapi/alexa-settings-api-reference.html >`__
207+
208+ - `ユーザー設定情報の取得 <https://developer.amazon.com/docs/smapi/alexa-settings-api-reference.html >`__
209+
210+ - `アカウントリンク <https://developer.amazon.com/docs/account-linking/understand-account-linking.html >`__
211+
212+ - `スロットタイプ値の同義語とIDを定義する(エンティティ解決) <https://developer.amazon.com/docs/custom-skills/define-synonyms-and-ids-for-slot-type-values-entity-resolution.html >`__
213+
214+ - `ダイアログ管理 <https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html >`__
215+
216+ - `位置情報サービス <https://developer.amazon.com/docs/custom-skills/location-services-for-alexa-skills.html >`__
217+
218+ - `リマインダー <https://developer.amazon.com/docs/smapi/alexa-reminders-overview.html >`__
219+
220+ - `プロアクティブイベント <https://developer.amazon.com/docs/smapi/proactive-events-api.html >`__
221+
222+ - `動的エンティティ <https://developer.amazon.com/docs/custom-skills/use-dynamic-entities-for-customized-interactions.html >`__
223+
224+ - `スキルメッセージ <https://developer.amazon.com/docs/smapi/skill-messaging-api-reference.html >`__
225+
226+ プレビュー版
227+ -------
228+
229+ ..警告::
230+
231+ 以下の機能は、プレビュー版としてリリースされています。インターフェースは正式版リリースの際に変更される可能性があります。
232+
233+ - `Connections <https://developer.amazon.com/blogs/alexa/post/7b332b32-893e-4cad-be07-a5877efcbbb4/skill-connections-preview-now-skills-can-work-together-to-help-customers-get-more-done >`__
234+
235+ - `Alexa Presentation Language <https://developer.amazon.com/docs/alexa-presentation-language/apl-overview.html >`__
236+
237+ - `無指名対話 <https://developer.amazon.com/docs/custom-skills/understand-name-free-interaction-for-custom-skills.html >`__
238+
239+ Lambda以外のリソースでのスキルのホスティング
240+ --------------------------------------
241+
242+ SDKはホスティングを可能にする `` ask-sdk-webservice-support``パッケージを提供します
243+ カスタムWebサービスとしてのスキルフレームワーク固有のアダプタも提供します。
244+ 統合するために `` flask-ask-sdk``と `` django-ask-sdk``パッケージの下に
245+ それぞれのフレームワークのスキルとWebサービスとして展開します。
246+
247+ これらのパッケージの使用方法に関する詳細はこちらにあります。
248+ `ドキュメントのリンク<https://alexa-skills-kit-python-sdk.readthedocs.io/ja/latest/WEBSERVICE_SUPPORT.html> ` __。
249+
250+ ..警告::
251+
252+ これらの機能は現在** Beta **にあります。インタフェースはいつ変わるか
253+ 機能は安定版としてリリースされています。
254+
255+
133256フィードバック
134257-------
135258
0 commit comments