code: def get_service_packages(self, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.get_service_packages_with_http_info(**kwargs)  # noqa: E501
          else:
              (data) = self.get_service_packages_with_http_info(**kwargs)  # noqa: E501
              return data
docs: Get all service packages.  # noqa: E501
  
          Get information of all service packages for the currently authenticated commercial account. The response is returned in descending order by service package created timestamp, listing first the pending service package, then the active service package and finally the previous service packages.  **Example usage:**      curl -X GET https://api.us-east-1.mbedcloud.com/v3/service-packages -H 'authorization: Bearer {api-key}'  # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass asynchronous=True
          >>> thread = api.get_service_packages(asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :return: ServicePackagesResponse
                   If the method is called asynchronously,
                   returns the request thread.