code: def library(self):
          
          if not self._library:
              try:
                  data = self.query(Library.key)
                  self._library = Library(self, data)
              except BadRequest:
                  data = self.query('/library/sections/')
                  # Only the owner has access to /library
                  # so just return the library without the data.
                  return Library(self, data)
          return self._library
docs: Library to browse or search your media.