Go to https://rapidapi.com/integraatio/api/morningstar1 and request an API access key. The API is a Freemium API. This means you are allowed a certain number of calls for free for a limited period, after which you need to pay for its usage. Take some time to look at the API and its documentation. Pay attention to the pricing plans and keep your key a secret when you receive it.
The APIs that we are interested in are as follows:
- GET /companies/list-by-exchange: This API returns a list of countries for the specified exchange.
- GET /dividends: This API gets all the historical and current dividend payment information for the specified company.
The first part of the API request is the GETHTTP verb, which is used to retrieve a resource. The second part of the API request is the resource to GET, which in this case is/companies/list-by-exchange. As we can see in the second bullet point of the preceding...