'Do API calls, and save data in cache files.'

def do_api_calls_update_cache(self):

    self.add_cloud_services()
    self.write_to_cache(self.inventory, self.cache_path_cache)
    self.write_to_cache(self.index, self.cache_path_index)
