I would like to create a function to get data from an API, then create another function to create and clean the respective dataframe for use.
The first set of def looks l