In this example aiohttp is used for the request, of course this can also be done with other packages. Basically it is just a url get request and then reading the text from the website.
To work with our API you need to understand how the api works and how to use it correctly.