You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Language Translator v3 is now available. The v2 Language Translator API will no longer be available after July 31, 2018. To take advantage of the latest service enhancements, migrate to the v3 API. View the [Migrating to Language Translator v3](https://console.bluemix.net/docs/services/language-translator/migrating.html) page for more information.
163
-
164
161
## Python version
165
162
166
163
Tested on Python 2.7, 3.4, 3.5, and 3.6.
167
164
168
165
## Changes for v1.0
169
166
Version 1.0 focuses on the move to programmatically-generated code for many of the services. See the [changelog](https://github.com/watson-developer-cloud/python-sdk/wiki/Changelog) for the details.
170
167
168
+
## Changes for v2.0
169
+
`DetailedResponse` which contains the result, headers and HTTP status code is now the default response for all methods.
See the [changelog](https://github.com/watson-developer-cloud/python-sdk/wiki/Changelog) for the details.
184
+
171
185
## Migration
172
186
This version includes many breaking changes as a result of standardizing behavior across the new generated services. Full details on migration from previous versions can be found [here](https://github.com/watson-developer-cloud/python-sdk/wiki/Migration).
If you would like access to some HTTP response information along with the response model, you can set the `set_detailed_response()` to `True`
226
+
If you would like access to some HTTP response information along with the response model, you can set the `set_detailed_response()` to `True`. Since Python SDK `v2.0`, it is set to `True`
To run the examples, you will need a `username`, `password`, and `url`. To get your service credentials, follow these steps:
3
-
1. Log in to IBM Cloud at https://console.bluemix.net.
2
+
To run the examples, you will need the appropriate service instance
4
3
5
-
1. Create an instance of the service:
6
-
1. In the IBM Cloud **Catalog**, select the Natural Language Classifier service.
7
-
1. Click **Create**.
8
-
9
-
1. Copy your credentials:
10
-
1. On the left side of the page, click **Service Credentials** to view your service credentials.
11
-
1. Copy `username`, `password`, and `url` from these service credentials.
12
-
13
-
## Deprecation notice
14
-
Language Translator v3 is now available. The v2 Language Translator API will no longer be available after July 31, 2018. To take advantage of the latest service enhancements, migrate to the v3 API. View the [Migrating to Language Translator v3](https://console.bluemix.net/docs/services/language-translator/migrating.html) page for more information.
4
+
1. Go to the IBM Cloud [Dashboard](https://console.bluemix.net/dashboard/apps?category=ai) page.
5
+
1. Either click an existing Watson service instance or click [**Create resource > AI**](https://console.bluemix.net/catalog/?category=ai) and create a service instance.
6
+
1. Copy the `url` and either `apikey` or `username` and `password`. Click **Show** if the credentials are masked.
0 commit comments