Please refer to the Setting up a Rest Client section from Chapter 3, Cloud Vision API to set up a REST API client, either Postman or cURL before you continue. Now that we have all the required setup done, let's get started with exploring the API.
In this section, we are going to explore two APIs of Cloud Translation:
- Discovering supporting languages
- Translating text
Apart from this, there is another API, which helps us discover the language of the text. While integrating with SmartExchange, we are going to make a request to the supporting languages API and then make a request to translate text, to get the translated text. We will start with discovering supporting languages.