def GetMetadataSample():
 client = CreateClient()
 metadata = client.GetMetadata()
 print 'Quota'
 print '  Total:', metadata.quota_bytes_total.text
 print '  Used:', metadata.quota_bytes_used.text
 print '  Trashed:', metadata.quota_bytes_used_in_trash.text
 print 'Import / Export'
 for input_format in metadata.import_formats:
  print '  Import:', input_format.source, 'to', input_format.target
 for export_format in metadata.export_formats:
  print '  Export:', export_format.source, 'to', export_format.target
 print 'Features'
 for feature in metadata.features:
  print '  Feature:', feature.name.text
 print 'Upload Sizes'
 for upload_size in metadata.max_upload_sizes:
  print '  Kind:', upload_size.kind, upload_size.text

def GetMetadataSample ( ) : client = CreateClient ( ) metadata = client . GetMetadata ( ) print 'Quota' print '  Total:' , metadata . quota_bytes_total . text print '  Used:' , metadata . quota_bytes_used . text print '  Trashed:' , metadata . quota_bytes_used_in_trash . text print 'Import / Export' for input_format in metadata . import_formats : print '  Import:' , input_format . source , 'to' , input_format . target for export_format in metadata . export_formats : print '  Export:' , export_format . source , 'to' , export_format . target print 'Features' for feature in metadata . features : print '  Feature:' , feature . name . text print 'Upload Sizes' for upload_size in metadata . max_upload_sizes : print '  Kind:' , upload_size . kind , upload_size . text
get and display the metadata for the current user .