Connect to API in Excel Part 1/2: Send API Request
Описание
Find the code here: https://excelmacroclass.blogspot.com/2022/05/connect-to-api-excel-vba-macro-part-1.html
In this video we will see how to get data from a web API in Excel using VBA macros. As an example, we are getting data form a public API with information about universities around the world. This API does not require any API key to be used, and consists of a simple URL that accepts a single parameter to specify the country of interest. The Excel VBA macro code to send an API call and retrieve information or data from the API consists of two steps. In this video we will cover the first step, which consists of sending an HTTP request to the API URL, in a similar way we have done to scrape web data in a previous video (Scrape Web Data in Excel Part 1). In the next video we will see how to read the API response returned as JSON format, and retrieve the list of universities for a given country.
You can find many other macro examples and Excel VBA learning materials (including the Excel VBA Guide for Beginners) in the Excel Macro Class blog under the link: https://excelmacroclass.blogspot.com/
And yet, if you want more, you can find various Excel applications of different nature in the other blogs of the Excel Macro Mania saga:
Excel Macro Fun (https://excelmacrofun.blogspot.com/)
Excel Macro Business (https://excelmacrobusiness.blogspot.com/)
Excel Macro Sports (https://excelmacrosports.blogspot.com/)
Рекомендуемые видео



















