code: def get_last_api_metadata(self):
          
          last_metadata = None
          for key, api in iteritems(self.apis):
              api_client = api.api_client
              if api_client is not None:
                  metadata = api_client.get_last_metadata()
                  if metadata is not None and metadata.get('timestamp', None) is not None:
                      if last_metadata is None:
                          last_metadata = metadata
                      elif metadata["timestamp"] >= last_metadata["timestamp"]:
                          last_metadata = metadata
          if last_metadata is not None:
              last_metadata = ApiMetadata(last_metadata.get("url"),
                                          last_metadata.get("method"),
                                          last_metadata.get("response", None),
                                          last_metadata.get("return_data", None),
                                          last_metadata.get("exception", None))
          return last_metadata
docs: Get meta data for the last Mbed Cloud API call.
  
          :returns: meta data of the last Mbed Cloud API call
          :rtype: ApiMetadata