In The middle section we will add our functions. I have choosen a function oriented approach to the API interactions becauses I think it highligts what is essential in the HTTP transaction. I’ve also group the code into topic areas (e.g. login, reposiory, agents) to keep the code easy to read and disc.
A post-workshop next step might be to collect all the functions in the modules we built into a Python class and present them as a single object representing the complete API.